Hi ports@ and Simon(cc'd as requested), I have been working on this port today, so heres an update (and a problem):
- Regarding dialog writing out of it's prefix; That was my fault. I was wrong to do this: --bindir=/usr/local . Aplogies for that. - I have verified that "gnu dest" is required. Never mind. - I now have something that build a pacakge, but something is broken. It appears that something has understood the fake root, but also not at the same time. That makes no sense, so allow me to explain: # ls bin info man share # pwd /usr/ports/mystuff/texlive_base/w-texlive_base-2007/fake-i386/usr/ports/mystuff/texlive_base/w-texlive_base-2007/fake-i386/usr/local Yikes, thats odd. And ports knows this. It tells me so: Bogus element outside of base: /usr/ports/mystuff/texlive_base/w-texlive_base-2007/fake-i386/usr/local/share/texmf/dvipdfm/dvipdfmx.cfg (etc etc........ many many similar lines) Heres the Makefile I have so far (again i stress this is nowhere near complete): # $OpenBSD$ COMMENT= "Texlive LaTeX distribution (base)" DISTNAME= texlive_base-2007 PKGNAME= texlive_base-2007 CATEGORIES= print HOMEPAGE= http://tug.org/texlive/ MAINTAINER= Edd Barrett <[EMAIL PROTECTED]> WANTLIB= m X11 ICE freetype Xt pthread c Xext fontconfig \ Xp Xpm SM Xmu z ncurses Xaw PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM=Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= http://students.dec.bournemouth.ac.uk/ebarrett/distfiles/ EXTRACT_SUFX= .tar.bz2 #BUILD_DEPENDS= #RUN_DEPENDS= ??? LIB_DEPENDS= t1.>=4::devel/t1lib \ png.>=3::graphics/png #REGRESS_DEPENDS= ??? #SEPARATE_BUILD= concurrent (build simultaneously on all arches) #SEPARATE_BUILD= simple (configure/build still recreates files in source) USE_X11= Yes USE_GMAKE= Yes CONFIGURE_STYLE=gnu dest CONFIGURE_ARGS+= --with-fontconfig=${X11BASE} \ --with-system-freetype2 \ --with-freetype2-libdir=${X11BASE}/lib \ --with-freetype2-include=${X11BASE}/include \ --with-system-ncurses \ --with-system-pnglib \ --with-pnglib-libdir=${PREFIX}/lib \ --with-pnglib-include=${PREFIX}/include/libpng \ --with-system-zlib \ --with-system-t1lib \ --with-t1lib-libdir=${PREFIX}/lib \ --with-t1lib-include=${PREFIX}/include \ --without-texinfo \ --with-xdvi-x-toolkit=xaw .include <bsd.port.mk> Any ideas what has happened here. - I have written DESCR and silenced make-lib-depends. - I have decided that a no_x11 flavor is quite useless for a laTeX distribution as anything useful like making pdf or ps needs X11 anyway (I stumbled into thinking that a headless web server I have would be able to generate pdf's and serve them on the www for me. Ofcourse I was wrong.) Does anyone know otherwise? - Now I am downloading the HUGE texlive dvd so I can get the texmf tree. I am starting to think about how to package this. I reckon I should be able to make a tarball and make a do-install script to move its contents into fake. Is there a better way? I am aware that theres a few shell commands that must be run to make 'ls-R' and the format files. If I were to put these in a post-build target for example, would that work? It seems odd to have a separate pkg for the format files, as you really do need them! Again correct me if I am wrong, but as far as I know pdflatex, latex, pdfetex and friends all need a correspoding (platform dependent) fmt file. Thanks for reading my rather long email. It was not supposed to be all that huge. -- Best Regards Edd