summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-20 02:33:45 +0000
committerwiz <wiz@pkgsrc.org>2002-10-20 02:33:45 +0000
commitd80d61991234d5db87f4eb1fc9efc6a7c4e1cc21 (patch)
tree4bfb43b7a7ca34ee19e7abb5f8f839b6b158a474 /print
parent3ec7eb45426e4350997f466a3e7dd6f3d9d986c9 (diff)
downloadpkgsrc-d80d61991234d5db87f4eb1fc9efc6a7c4e1cc21.tar.gz
Prefer pax to GNU tar.
Diffstat (limited to 'print')
-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