aboutsummaryrefslogtreecommitdiffstats
path: root/print/teTeX/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1996-12-13 15:21:33 +0800
committertg <tg@FreeBSD.org>1996-12-13 15:21:33 +0800
commit8fd9a6a0f4aed0d5733a3a12c22197b80b3024e9 (patch)
tree21a9ebcf04f28771662c4bec04f71166e8cc15a6 /print/teTeX/Makefile
parent2e161c17c673cc2717ea2c606d67f3a48d46807f (diff)
downloadfreebsd-ports-gnome-8fd9a6a0f4aed0d5733a3a12c22197b80b3024e9.tar.gz
freebsd-ports-gnome-8fd9a6a0f4aed0d5733a3a12c22197b80b3024e9.tar.zst
freebsd-ports-gnome-8fd9a6a0f4aed0d5733a3a12c22197b80b3024e9.zip
teTeX now conforms to the FreeBSD tree layout.
Submitted by: Bernd Rosauer <br@schiele-ct.de>
Diffstat (limited to 'print/teTeX/Makefile')
-rw-r--r--print/teTeX/Makefile24
1 files changed, 20 insertions, 4 deletions
diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile
index c4a37b5145c1..bb87bf6d6ad3 100644
--- a/print/teTeX/Makefile
+++ b/print/teTeX/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>