summaryrefslogtreecommitdiff
path: root/www/htdig
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-17 22:00:13 +0000
committerjlam <jlam@pkgsrc.org>2005-05-17 22:00:13 +0000
commit4d2fb797dba9c9dd13af2cd19bccb1f3e76935f5 (patch)
treed0b2f8d38833526831bd2c92e4d8ba7169374746 /www/htdig
parent019698e51a63384fdffb680066acf1bef26bd93b (diff)
downloadpkgsrc-4d2fb797dba9c9dd13af2cd19bccb1f3e76935f5.tar.gz
Use EXTRACT_CMD_OPTS.tar.gz and EXTRACT_CMD.tar.gz instead of figuring
out the whole command line necessary to extract a .tar.gz file.
Diffstat (limited to 'www/htdig')
-rw-r--r--www/htdig/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/htdig/Makefile b/www/htdig/Makefile
index d311b53c077..446bfc98de6 100644
--- a/www/htdig/Makefile
+++ b/www/htdig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2005/05/16 03:04:45 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2005/05/17 22:00:13 jlam Exp $
DISTNAME= htdig-3.1.6
PKGREVISION= 3
@@ -11,6 +11,7 @@ MASTER_SITES= http://www.htdig.org/files/ \
http://www.it.htdig.org/files/ \
ftp://www.it.htdig.org/pub/htdig/ \
http://www.opdenbrouw.nl/htdig/maindocs/files/
+EXTRACT_SUFX= .tar.gz
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://htdig.sourceforge.net/
@@ -42,10 +43,10 @@ CONF_FILES+= ${PREFIX}/share/examples/htdig/htdig.conf \
.include "../../mk/bsd.prefs.mk"
-.if !empty(EXTRACT_USING:Mgtar)
-EXTRACT_ELEMENTS= --exclude ${DISTNAME}/db*
-.else
-EXTRACT_ELEMENTS= -c ${DISTNAME}/db*
+.if !empty(EXTRACT_USING:M*tar)
+EXTRACT_CMD_OPTS${EXTRACT_SUFX}= --exclude ${DISTNAME}/db*
+.elif !empty(EXTRACT_USING:Mpax)
+EXTRACT_CMD_OPTS${EXTRACT_SUFX}= -c ${DISTNAME}/db*
.endif
.include "../../databases/db/buildlink3.mk"