summaryrefslogtreecommitdiff
path: root/www/htdig
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 /www/htdig
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 'www/htdig')
-rw-r--r--www/htdig/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/www/htdig/Makefile b/www/htdig/Makefile
index 246c36eee2c..b1bab5e81d7 100644
--- a/www/htdig/Makefile
+++ b/www/htdig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/01/20 23:41:30 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2006/01/21 18:57:42 jlam Exp $
DISTNAME= htdig-3.1.6
PKGREVISION= 3
@@ -40,13 +40,8 @@ OWN_DIRS+= ${DBDIR}
CONF_FILES+= ${PREFIX}/share/examples/htdig/htdig.conf \
${PKG_SYSCONFDIR}/htdig.conf
-.include "../../mk/bsd.prefs.mk"
-
-.if !empty(EXTRACT_USING:M*tar)
-EXTRACT_OPTS_TAR= --exclude ${DISTNAME}/db*
-.elif !empty(EXTRACT_USING:Mpax)
-EXTRACT_OPTS_PAX= -c ${DISTNAME}/db*
-.endif
+EXTRACT_OPTS+= -x
+EXTRACT_ELEMENTS= ${DISTNAME}/db*
.include "../../databases/db/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"