1996-02-22 10:21:53 +00:00
|
|
|
# New ports collection makefile for: teTeX
|
1999-08-25 14:25:39 +00:00
|
|
|
# Version required: 1.0.6
|
1996-12-13 07:21:33 +00:00
|
|
|
# Date created: 5 December 1996
|
1999-04-19 20:33:09 +00:00
|
|
|
# Whom: Bernd Rosauer <br@netland.inka.de>
|
1996-02-22 10:21:53 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1996-02-22 10:21:53 +00:00
|
|
|
#
|
|
|
|
|
1999-08-25 14:25:39 +00:00
|
|
|
DISTNAME= teTeX-1.0.6
|
1996-11-17 08:45:20 +00:00
|
|
|
CATEGORIES= print
|
1999-08-25 14:25:39 +00:00
|
|
|
MASTER_SITES= ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/ \
|
|
|
|
${MASTER_SITE_TEX_CTAN}
|
1999-07-06 07:10:10 +00:00
|
|
|
MASTER_SITE_SUBDIR= systems/unix/teTeX/1.0/distrib/sources/
|
|
|
|
DISTFILES= ${TETEX_SRC} ${TETEX_TEXMF}
|
1996-02-22 10:21:53 +00:00
|
|
|
|
1998-10-30 13:54:45 +00:00
|
|
|
MAINTAINER= br@netland.inka.de
|
1996-02-22 10:21:53 +00:00
|
|
|
|
1999-07-06 07:10:10 +00:00
|
|
|
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
|
|
|
|
www.6:${PORTSDIR}/www/libwww
|
|
|
|
|
1998-11-28 09:07:24 +00:00
|
|
|
USE_XLIB= yes
|
1999-07-06 07:10:10 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= can only build with empty /usr/local
|
1996-03-10 09:12:07 +00:00
|
|
|
DIST_SUBDIR= teTeX
|
1999-07-06 07:10:10 +00:00
|
|
|
WRKSRC= ${WRKDIR}/teTeX-1.0
|
|
|
|
EXTRACT_ONLY= ${TETEX_SRC}
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
1999-12-24 18:39:48 +00:00
|
|
|
CONFIGURE_ARGS= --disable-multiplatform \
|
1999-07-06 07:10:10 +00:00
|
|
|
--without-texinfo --without-dialog \
|
|
|
|
--with-system-ncurses --with-system-zlib \
|
|
|
|
--with-system-wwwlib --with-libwww-libdir=${LIBWWW_PREFIX}/lib \
|
|
|
|
--with-libwww-include=${LIBWWW_PREFIX}/include/w3c-libwww \
|
|
|
|
--with-system-pnglib --with-pnglib-libdir=${LIBPNG_PREFIX}/lib \
|
|
|
|
--with-pnglib-include=${LIBPNG_PREFIX}/include
|
2000-01-29 22:46:04 +00:00
|
|
|
CONFIGURE_ENV= INSTALL_PROGRAM="${BSD_INSTALL_SCRIPT}"
|
1999-07-06 07:10:10 +00:00
|
|
|
INSTALL_TARGET= install strip
|
|
|
|
NOMANCOMPRESS= yes
|
|
|
|
NOMAN1= MakeTeXPK.1 access.1 afm2tfm.1 allcm.1 allec.1 allneeded.1 \
|
|
|
|
amstex.1 bibtex.1 cont-de.1 cont-en.1 cont-nl.1 dmp.1 \
|
|
|
|
dvicopy.1 dvilj.1 dvips.1 dvired.1 dvitype.1 einitex.1 \
|
|
|
|
elatex.1 eplain.1 etex.1 evirtex.1 fontexport.1 fontimport.1 \
|
|
|
|
gftodvi.1 gftopk.1 gftype.1 gsftopk.1 inimf.1 inimpost.1 \
|
|
|
|
iniomega.1 initex.1 kpsestat.1 kpsewhich.1 lambda.1 latex.1 \
|
|
|
|
mag.1 makeindex.1 makempx.1 mf.1 mft.1 mktexlsr.1 mktexmf.1 \
|
|
|
|
mktexpk.1 mktextfm.1 mpost.1 mpto.1 newer.1 omega.1 patgen.1 \
|
|
|
|
pdfinitex.1 pdflatex.1 pdftex.1 pdfvirtex.1 pfb2pfa.1 pk2bm.1 \
|
|
|
|
pktogf.1 pktype.1 pltotf.1 pooltype.1 ps2frag.1 ps2pk.1 \
|
|
|
|
readlink.1 tangle.1 tex.1 texconfig.1 texhash.1 texi2html.1 \
|
|
|
|
tftopl.1 tie.1 vftovp.1 virmf.1 virmpost.1 viromega.1 \
|
|
|
|
virtex.1 vptovf.1 weave.1 xdvi.1
|
|
|
|
|
1999-08-25 14:25:39 +00:00
|
|
|
TETEX_SRC= teTeX-src-1.0.6.tar.gz
|
1999-07-06 07:10:10 +00:00
|
|
|
TETEX_TEXMF= teTeX-texmf-1.0.tar.gz
|
|
|
|
LIBPNG_PREFIX?= ${LOCALBASE}
|
|
|
|
LIBWWW_PREFIX?= ${LOCALBASE}
|
|
|
|
TEXMF_TREE= ${PREFIX}/share/texmf
|
|
|
|
|
|
|
|
pre-configure:
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "It will be ok if configure will complain about a missing texmf tree!"
|
|
|
|
@${ECHO_MSG}
|
1996-12-13 07:21:33 +00:00
|
|
|
|
|
|
|
pre-install:
|
1999-07-06 07:10:10 +00:00
|
|
|
@${MKDIR} ${TEXMF_TREE}
|
|
|
|
@cd ${TEXMF_TREE}; tar xfz ${_DISTDIR}/${TETEX_TEXMF}
|
1997-08-05 06:56:52 +00:00
|
|
|
|
1996-12-13 07:21:33 +00:00
|
|
|
post-install:
|
1999-07-06 07:10:10 +00:00
|
|
|
@${SED} -e "s|^TEXMFMAIN = .*|TEXMFMAIN = ${TEXMF_TREE}|g" \
|
|
|
|
< ${WRKSRC}/texk/kpathsea/texmf.cnf \
|
|
|
|
> ${TEXMF_TREE}/web2c/texmf.cnf
|
1999-08-25 14:25:39 +00:00
|
|
|
@${CHMOD} 644 ${TEXMF_TREE}/web2c/texmf.cnf
|
1999-07-06 07:10:10 +00:00
|
|
|
@${SETENV} TEXMFMAIN=${TEXMF_TREE} \
|
|
|
|
${PREFIX}/bin/texconfig font ro > /dev/null 2>&1
|
|
|
|
@${SETENV} TEXMFMAIN=${TEXMF_TREE} \
|
|
|
|
${PREFIX}/bin/texconfig font options appendonlydir varfonts
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "You may want to run texconfig to configure teTeX for your"
|
|
|
|
@${ECHO_MSG} "local environment. You will find teTeX's local documentation"
|
|
|
|
@${ECHO_MSG} "in ${TEXMF_TREE}/doc/."
|
|
|
|
@${ECHO_MSG}
|
1996-02-22 10:21:53 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|