summaryrefslogtreecommitdiff
path: root/print/teTeX-sharesrc
diff options
context:
space:
mode:
Diffstat (limited to 'print/teTeX-sharesrc')
-rw-r--r--print/teTeX-sharesrc/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/print/teTeX-sharesrc/Makefile b/print/teTeX-sharesrc/Makefile
index 32ae065450f..a46dd1f15fa 100644
--- a/print/teTeX-sharesrc/Makefile
+++ b/print/teTeX-sharesrc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/09/21 01:51:36 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2002/10/20 02:33:45 wiz Exp $
# FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp
#
@@ -27,14 +27,11 @@ FILESDIR= ${.CURDIR}/../../print/teTeX-share/files
EXTRA_PATCH= ${FILESDIR}/latex.ltx.diff
do-install:
- @${ECHO} ""
- @${ECHO} "Extracting ${DISTFILES} to ${PREFIX}/share/texmf/source"
- @${ECHO} " Get yourself a shower and a mug of coffee, this will take long!"
- @${ECHO} ""
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
- ${GTAR} -plzx \
- -C ${PREFIX}/share/texmf \
- -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
+ cd ${PREFIX}/share/texmf; ${PAX} -rzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
+ cd ${PREFIX}/share/texmf; ${RM} -f `${CAT} ${FILESDIR}/exclude`
+
+post-install:
@cd ${PREFIX}/share/texmf/source/latex/base && \
${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${EXTRA_PATCH} && \
${RM} latex.ltx.orig