1996-02-22 10:21:53 +00:00
|
|
|
# New ports collection makefile for: teTeX
|
1996-09-13 07:50:43 +00:00
|
|
|
# Version required: 0.4
|
1996-12-13 07:21:33 +00:00
|
|
|
# Date created: 5 December 1996
|
1996-07-23 12:40:09 +00:00
|
|
|
# Whom: Bernd Rosauer <br@schiele-ct.de>
|
1996-02-22 10:21:53 +00:00
|
|
|
#
|
1998-10-30 13:54:45 +00:00
|
|
|
# $Id: Makefile,v 1.22 1998/06/27 05:19:21 asami Exp $
|
1996-02-22 10:21:53 +00:00
|
|
|
#
|
|
|
|
|
1996-09-13 07:50:43 +00:00
|
|
|
DISTNAME= teTeX-src-0.4
|
|
|
|
PKGNAME= teTeX-0.4
|
1996-11-17 08:45:20 +00:00
|
|
|
CATEGORIES= print
|
1997-01-06 13:46:31 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
|
|
|
MASTER_SITE_SUBDIR= systems/unix/teTeX/distrib/sources
|
1996-12-13 07:21:33 +00:00
|
|
|
DISTFILES= ${TETEX_SRC} ${TETEX_LIB}
|
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
|
|
|
|
1996-03-10 09:12:07 +00:00
|
|
|
DIST_SUBDIR= teTeX
|
1996-02-22 10:21:53 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= config clean texhash all
|
|
|
|
INSTALL_TARGET= install ini
|
1997-02-06 07:26:12 +00:00
|
|
|
MAN1= afm2tfm.1 allcm.1 alldc.1 allneeded.1 amslatex.1 \
|
|
|
|
amstex.1 append_db.1 bibtex.1 dvilj.1 dvips.1 \
|
|
|
|
dvired.1 dvitype.1 etex.1 fontexport.1 fontimport.1 \
|
|
|
|
gftodvi.1 gftopk.1 gftype.1 gsftopk.1 initex.1 \
|
|
|
|
lamstex.1 latex.1 mag.1 makeindex.1 mf.1 mft.1 \
|
|
|
|
mp.1 patgen.1 pfb2pfa.1 pk2bm.1 pktogf.1 pktype.1 \
|
|
|
|
pltotf.1 pooltype.1 ps2frag.1 ps2pk.1 slitex.1 \
|
|
|
|
tangle.1 tex.1 texconfig.1 texhash.1 tftopl.1 \
|
|
|
|
vftovp.1 virtex.1 vptovf.1 weave.1 xdvi.1
|
1996-02-22 10:21:53 +00:00
|
|
|
|
1997-08-05 06:56:52 +00:00
|
|
|
TETEX_SRC= teTeX-src-0.4pl7.tar.gz
|
|
|
|
TETEX_LIB= teTeX-lib-0.4pl8.tar.gz
|
1996-12-13 07:21:33 +00:00
|
|
|
WRKLIB= ${WRKDIR}/teTeX
|
1997-08-05 06:56:52 +00:00
|
|
|
INSTALL_INFO= /usr/bin/install-info
|
1996-12-13 07:21:33 +00:00
|
|
|
|
|
|
|
pre-install:
|
1998-05-26 08:01:06 +00:00
|
|
|
@if [ -x ${PREFIX}/bin/mp ]; then ${MV} ${PREFIX}/bin/mp ${PREFIX}/bin/mp.save; fi
|
1997-02-27 09:05:09 +00:00
|
|
|
@${RM} -f ${PREFIX}/share/texmf/ls-R
|
1996-12-13 07:21:33 +00:00
|
|
|
@chown -R bin:bin ${WRKLIB}/info ${WRKLIB}/man
|
1997-08-05 06:56:52 +00:00
|
|
|
@${RM} -f ${WRKLIB}/info/dir ${WRKLIB}/info/localdir ${WRKLIB}/info/*.orig
|
|
|
|
@chmod 444 ${WRKLIB}/info/* ${WRKLIB}/man/man1/* ${WRKLIB}/man/man5/*
|
|
|
|
@find ${WRKLIB}/texmf/fonts -type d -perm 1755 -exec chmod 755 {} \;
|
1997-01-06 13:46:31 +00:00
|
|
|
@ (cd ${WRKLIB}; tar cf - info man/man1 man/man5) | (cd ${PREFIX}; tar --unlink -xpf -)
|
|
|
|
@ (cd ${WRKLIB}; tar cf - texmf) | (cd ${PREFIX}/share; tar --unlink -xpf -)
|
1997-02-27 09:05:09 +00:00
|
|
|
@${INSTALL_DATA} ${WRKLIB}/texmf.cnf ${PREFIX}/share/texmf/web2c
|
1997-08-05 06:56:52 +00:00
|
|
|
|
1996-12-13 07:21:33 +00:00
|
|
|
post-install:
|
1997-08-05 06:56:52 +00:00
|
|
|
${INSTALL_INFO} ${PREFIX}/info/latex ${PREFIX}/info/dir
|
|
|
|
${INSTALL_INFO} ${PREFIX}/info/kpathsea.info ${PREFIX}/info/dir
|
|
|
|
${INSTALL_INFO} ${PREFIX}/info/dvips.info ${PREFIX}/info/dir
|
|
|
|
${INSTALL_INFO} ${PREFIX}/info/fontname.info ${PREFIX}/info/dir
|
1998-05-26 08:01:06 +00:00
|
|
|
@${MV} ${PREFIX}/bin/mp ${PREFIX}/bin/mpost
|
|
|
|
@if [ -x ${PREFIX}/bin/mp.save ]; then ${MV} ${PREFIX}/bin/mp.save ${PREFIX}/bin/mp; fi
|
1997-08-05 06:56:52 +00:00
|
|
|
@${SETENV} PREFIX=${PREFIX} ${SH} files/install-note
|
1996-02-22 10:21:53 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|