1996-02-22 11:21:53 +01:00
|
|
|
# New ports collection makefile for: teTeX
|
1996-12-13 08:21:33 +01:00
|
|
|
# Date created: 5 December 1996
|
1999-04-19 22:33:09 +02:00
|
|
|
# Whom: Bernd Rosauer <br@netland.inka.de>
|
1996-02-22 11:21:53 +01:00
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1996-02-22 11:21:53 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 19:50:59 +02:00
|
|
|
PORTNAME= teTeX
|
2003-03-01 10:27:48 +01:00
|
|
|
PORTVERSION= 2.0.2
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 3
|
1996-11-17 09:45:20 +01:00
|
|
|
CATEGORIES= print
|
2003-02-20 16:07:25 +01:00
|
|
|
MASTER_SITES= ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/ \
|
1999-08-25 16:25:39 +02:00
|
|
|
${MASTER_SITE_TEX_CTAN}
|
2003-02-20 16:07:25 +01:00
|
|
|
MASTER_SITE_SUBDIR= systems/unix/teTeX/2.0/distrib/
|
1999-07-06 09:10:10 +02:00
|
|
|
DISTFILES= ${TETEX_SRC} ${TETEX_TEXMF}
|
2003-05-22 08:28:21 +02:00
|
|
|
EXTRACT_ONLY= ${TETEX_SRC}
|
1996-02-22 11:21:53 +01:00
|
|
|
|
2003-03-20 22:24:54 +01:00
|
|
|
MAINTAINER= demon@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Thomas Esser's distribution of TeX & friends
|
1996-02-22 11:21:53 +01:00
|
|
|
|
2001-09-11 04:59:20 +02:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
2000-04-29 18:47:02 +02:00
|
|
|
wwwcore.1:${PORTSDIR}/www/libwww
|
1999-07-06 09:10:10 +02:00
|
|
|
|
2003-05-22 08:26:09 +02:00
|
|
|
CONFLICTS= ja-ptex-*
|
2002-03-11 23:51:18 +01:00
|
|
|
.if !defined(WITHOUT_X11)
|
1998-11-28 10:07:24 +01:00
|
|
|
USE_XLIB= yes
|
2002-03-11 23:51:18 +01:00
|
|
|
PLIST_SUB+= X11BITS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= X11BITS="@comment "
|
|
|
|
.endif
|
1996-03-10 10:12:07 +01:00
|
|
|
DIST_SUBDIR= teTeX
|
2003-03-01 10:27:48 +01:00
|
|
|
WRKSRC= ${WRKDIR}/tetex-src-${PORTVERSION}
|
1999-07-06 09:10:10 +02:00
|
|
|
USE_GMAKE= yes
|
2001-01-16 18:33:20 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-multiplatform \
|
1999-07-06 09:10:10 +02: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 23:46:04 +01:00
|
|
|
CONFIGURE_ENV= INSTALL_PROGRAM="${BSD_INSTALL_SCRIPT}"
|
2002-03-11 23:51:18 +01:00
|
|
|
.if defined(WITHOUT_X11)
|
2003-03-25 10:29:58 +01:00
|
|
|
CONFIGURE_ARGS+= --without-x11 --without-oxdvik --without-xdvik \
|
|
|
|
--with-mfw=no
|
2002-03-11 23:51:18 +01:00
|
|
|
.endif
|
2003-02-20 17:13:22 +01:00
|
|
|
MAN1= MakeTeXPK.1 access.1 afm2tfm.1 allcm.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 fontexport.1 fontimport.1 \
|
|
|
|
gftodvi.1 gftopk.1 gftype.1 gsftopk.1 inimf.1 inimpost.1 \
|
2003-03-01 10:27:48 +01:00
|
|
|
iniomega.1 initex.1 kpsepath.1 kpsestat.1 kpsewhich.1 \
|
|
|
|
kpsexpand.1 lambda.1 latex.1 \
|
2003-02-20 17:13:22 +01:00
|
|
|
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 pfb2pfa.1 pk2bm.1 \
|
|
|
|
pktogf.1 pktype.1 pltotf.1 pooltype.1 ps2frag.1 ps2pk.1 \
|
|
|
|
readlink.1 tangle.1 tex.1 texconfig.1 texi2html.1 \
|
|
|
|
tftopl.1 tie.1 vftovp.1 vptovf.1 weave.1 pdfetex.1 fontinst.1 \
|
|
|
|
cweb.1 dvihp.1 dvipdfm.1 mkindex.1 dvi2fax.1 e2pall.1 \
|
|
|
|
epstopdf.1 kpsetool.1 pslatex.1 \
|
|
|
|
rubibtex.1 rumakeindex.1 texdoc.1 texexec.1 texi2pdf.1 \
|
|
|
|
texshow.1 texutil.1 thumbpdf.1 texdoctk.1 updmap.1 dvitomp.1
|
|
|
|
MAN5= fmtutil.cnf.5
|
|
|
|
MAN8= fmtutil.8 texlinks.8 mkfontdesc.8
|
|
|
|
MLINKS= allcm.1 allec.1 mktexlsr.1 texhash.1 tex.1 virtex.1 \
|
|
|
|
etex.1 evirtex.1 mf.1 virmf.1 mpost.1 virmpost.1 \
|
|
|
|
omega.1 viromega.1 pdftex.1 pdfvirtex.1
|
2003-08-16 12:01:54 +02:00
|
|
|
INFO= dvips kpathsea latex web2c
|
2002-03-11 23:51:18 +01:00
|
|
|
|
|
|
|
.if !defined(WITHOUT_X11)
|
2003-02-20 17:13:22 +01:00
|
|
|
MAN1+= t1mapper.1 xdvi.1 xdvizilla.1
|
2002-03-11 23:51:18 +01:00
|
|
|
.endif
|
1999-07-06 09:10:10 +02:00
|
|
|
|
2003-03-01 10:27:48 +01:00
|
|
|
TETEX_SRC= tetex-src-${PORTVERSION}.tar.gz
|
|
|
|
TETEX_TEXMF= tetex-texmf-${PORTVERSION}.tar.gz
|
1999-07-06 09:10:10 +02:00
|
|
|
LIBPNG_PREFIX?= ${LOCALBASE}
|
|
|
|
LIBWWW_PREFIX?= ${LOCALBASE}
|
|
|
|
TEXMF_TREE= ${PREFIX}/share/texmf
|
|
|
|
|
|
|
|
pre-configure:
|
1999-08-28 00:30:39 +02:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "It will be ok if configure will complain about a missing texmf tree!"
|
|
|
|
@${ECHO_MSG}
|
1996-12-13 08:21:33 +01:00
|
|
|
|
|
|
|
pre-install:
|
1999-07-06 09:10:10 +02:00
|
|
|
@${MKDIR} ${TEXMF_TREE}
|
|
|
|
@cd ${TEXMF_TREE}; tar xfz ${_DISTDIR}/${TETEX_TEXMF}
|
2003-03-20 22:24:54 +01:00
|
|
|
@${INSTALL_DATA} ${FILESDIR}/listings.sty ${TEXMF_TREE}/tex/latex/listings/
|
1997-08-05 08:56:52 +02:00
|
|
|
|
1996-12-13 08:21:33 +01:00
|
|
|
post-install:
|
2003-02-20 16:07:25 +01:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/utils/texinfo/util/texi2dvi ${PREFIX}/bin
|
1999-07-06 09:10:10 +02:00
|
|
|
@${SED} -e "s|^TEXMFMAIN = .*|TEXMFMAIN = ${TEXMF_TREE}|g" \
|
|
|
|
< ${WRKSRC}/texk/kpathsea/texmf.cnf \
|
|
|
|
> ${TEXMF_TREE}/web2c/texmf.cnf
|
1999-08-25 16:25:39 +02:00
|
|
|
@${CHMOD} 644 ${TEXMF_TREE}/web2c/texmf.cnf
|
1999-07-06 09:10:10 +02: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-28 00:30:39 +02: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 11:21:53 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|