summaryrefslogtreecommitdiff
path: root/print/teTeX3-texmf
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-01-21 18:57:40 +0000
committerjlam <jlam@pkgsrc.org>2006-01-21 18:57:40 +0000
commit758d912e338f2060213377f59a7f58ced9eeab24 (patch)
tree505836e71024eea9e19676a0f20b017dda96b7a3 /print/teTeX3-texmf
parentd9e6b299d6df27e4615b1691c89bc1c67cf4e5f1 (diff)
downloadpkgsrc-758d912e338f2060213377f59a7f58ced9eeab24.tar.gz
Update package Makefile now that bsd.pkg.extract.mk is using the
"extract" script for extraction. Many cases where a custom EXTRACT_CMD simply copied the distfile into the work directory are no longer needed. The extract script also hides differences between pax and tar behind a common command-line interface, so we no longer need code that's conditional on whether EXTRACT_USING is tar or pax.
Diffstat (limited to 'print/teTeX3-texmf')
-rw-r--r--print/teTeX3-texmf/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/print/teTeX3-texmf/Makefile b/print/teTeX3-texmf/Makefile
index f72dc90c28f..ed5ca8222d2 100644
--- a/print/teTeX3-texmf/Makefile
+++ b/print/teTeX3-texmf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/01/20 23:41:30 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2006/01/21 18:57:42 jlam Exp $
#
DISTNAME= tetex-texmf-3.0
@@ -21,18 +21,13 @@ NO_CONFIGURE= yes
NO_BUILD= yes
USE_TOOLS+= patch
-.include "../../mk/bsd.prefs.mk"
-
-.if !empty(EXTRACT_USING:M*tar)
-EXTRACT_OPTS_TAR= -X ${FILESDIR}/exclude -p
-.elif !empty(EXTRACT_USING:Mpax)
-EXTRACT_OPTS_PAX= -c `${CAT} ${FILESDIR}/exclude`
-.endif
+EXTRACT_OPTS= -X ${FILESDIR}/exclude
+EXTRACT_OPTS_TAR= -p
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
extract_file=${_DISTDIR:Q}/${DISTFILES:Q}; \
- cd ${PREFIX}/share/texmf; ${EXTRACT_CMD${EXTRACT_SUFX}}
+ cd ${PREFIX}/share/texmf; ${EXTRACT_CMD}
cd ${PREFIX}/share/texmf/dvipdfm/config && \
${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${FILESDIR}/dvipdfm-config.diff && \
${RM} config.orig