summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/teTeX-share/Makefile16
-rw-r--r--print/teTeX-sharesrc/Makefile13
2 files changed, 10 insertions, 19 deletions
diff --git a/print/teTeX-share/Makefile b/print/teTeX-share/Makefile
index bdb9edd599e..f9dc7ed05f0 100644
--- a/print/teTeX-share/Makefile
+++ b/print/teTeX-share/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2002/09/21 00:46:32 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2002/10/20 02:33:45 wiz Exp $
#
DISTNAME= teTeX-texmf-1.0.2
@@ -23,17 +23,11 @@ NO_MTREE= yes
EXTRA_PATCH= ${FILESDIR}/latex.ltx.diff
do-install:
- @${ECHO} ""
- @${ECHO} "Extracting ${DISTFILES} to ${PREFIX}/share/texmf"
- @${ECHO} ""
- @${ECHO} " ** Get yourself a shower and a big mug of coffee,"
- @${ECHO} " ** this will take _very_ long!"
- @${ECHO} ""
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
- ${GTAR} -plzx \
- -C ${PREFIX}/share/texmf \
- -X ${FILESDIR}/exclude \
- -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/tex/latex/base && \
${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${EXTRA_PATCH} && \
${RM} latex.ltx.orig
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