diff options
Diffstat (limited to 'print/teTeX-base/Makefile')
-rw-r--r-- | print/teTeX-base/Makefile | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/print/teTeX-base/Makefile b/print/teTeX-base/Makefile index c4a37b5145c1..bb87bf6d6ad3 100644 --- a/print/teTeX-base/Makefile +++ b/print/teTeX-base/Makefile @@ -1,21 +1,21 @@ # New ports collection makefile for: teTeX # Version required: 0.4 -# Date created: 27 August 1996 +# Date created: 5 December 1996 # Whom: Bernd Rosauer <br@schiele-ct.de> # -# $Id: Makefile,v 1.10 1996/11/13 08:05:29 tg Exp $ +# $Id: Makefile,v 1.11 1996/11/17 08:45:09 obrien Exp $ # DISTNAME= teTeX-src-0.4 PKGNAME= teTeX-0.4 CATEGORIES= print MASTER_SITES= ${TETEX_SITE}/distrib/sources/ -DISTFILES= teTeX-src-0.4pl3.tar.gz teTeX-lib-0.4pl3.tar.gz +DISTFILES= ${TETEX_SRC} ${TETEX_LIB} MAINTAINER= br@schiele-ct.de DIST_SUBDIR= teTeX -EXTRACT_ONLY= teTeX-src-0.4pl3.tar.gz +EXTRACT_ONLY= ${TETEX_SRC} PATCH_DIST_STRIP= -p1 NO_CONFIGURE= yes USE_GMAKE= yes @@ -23,5 +23,21 @@ ALL_TARGET= config clean texhash all INSTALL_TARGET= install ini TETEX_SITE= ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX +TETEX_SRC= teTeX-src-0.4pl3.tar.gz +TETEX_LIB= teTeX-lib-0.4pl3.tar.gz +WRKLIB= ${WRKDIR}/teTeX + +post-extract: + @cd ${WRKDIR} && gzip -dc ${DISTDIR}/${TETEX_LIB} | tar xf - + +pre-install: + @chown -R bin:bin ${WRKLIB}/info ${WRKLIB}/man + @chmod 444 ${WRKLIB}/info/* ${WRKLIB}/man/man1/* ${WRKLIB/man/man5/* + @ (cd ${WRKLIB}; tar cf - info man/man1 man/man5) | (cd ${PREFIX}; tar xfp -) + @ (cd ${WRKLIB}; tar cf - texmf) | (cd ${PREFIX}/share; tar xfp -) + @install -c -m 644 -o bin -g bin ${WRKLIB}/texmf.cnf ${PREFIX}/share/texmf/web2c + +post-install: + @${SETENV} PREFIX=${PREFIX} /bin/sh files/install-note .include <bsd.port.mk> |