summaryrefslogtreecommitdiff
path: root/print/teTeX-share
diff options
context:
space:
mode:
authorjlam <jlam>2006-01-21 18:57:40 +0000
committerjlam <jlam>2006-01-21 18:57:40 +0000
commit68e275d406913f1ae5e37c37ce004880df826458 (patch)
tree505836e71024eea9e19676a0f20b017dda96b7a3 /print/teTeX-share
parent04641e80e417f21412d018141babfd7f258ccc2e (diff)
downloadpkgsrc-68e275d406913f1ae5e37c37ce004880df826458.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/teTeX-share')
-rw-r--r--print/teTeX-share/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/print/teTeX-share/Makefile b/print/teTeX-share/Makefile
index b353f133092..d73bb01f00e 100644
--- a/print/teTeX-share/Makefile
+++ b/print/teTeX-share/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2006/01/20 23:41:30 jlam Exp $
+# $NetBSD: Makefile,v 1.33 2006/01/21 18:57:42 jlam Exp $
#
DISTNAME= tetex-texmf-2.0.2
@@ -24,25 +24,20 @@ EXTRACT_ONLY= # empty
NO_CONFIGURE= yes
NO_BUILD= yes
-USE_TOOLS+= patch
-
-.include "../../mk/bsd.prefs.mk"
+USE_TOOLS+= patch
# Don't extract the files listed in ${FILESDIR}/exclude, and preserve
# permissions.
#
-.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
distfiles=${DISTFILES:Q}; \
for i in $$distfiles; do \
extract_file=${_DISTDIR:Q}"/$$i"; \
- cd ${PREFIX}/share/texmf; ${EXTRACT_CMD${EXTRACT_SUFX}}; \
+ cd ${PREFIX}/share/texmf; ${EXTRACT_CMD}; \
done
cd ${PREFIX}/share/texmf/dvipdfm/config && \
${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${FILESDIR}/dvipdfm-config.diff && \