summaryrefslogtreecommitdiff
path: root/print/teTeX-sharesrc
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/teTeX-sharesrc
parent3ec7eb45426e4350997f466a3e7dd6f3d9d986c9 (diff)
downloadpkgsrc-d80d61991234d5db87f4eb1fc9efc6a7c4e1cc21.tar.gz
Prefer pax to GNU tar.
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