diff options
author | jlam <jlam> | 2005-05-17 22:00:13 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-05-17 22:00:13 +0000 |
commit | 7540907fc7cf64941e0180918015bcde38125260 (patch) | |
tree | d0b2f8d38833526831bd2c92e4d8ba7169374746 /www | |
parent | a852f770360644a0bc16b90d4548d233d03b45ea (diff) | |
download | pkgsrc-7540907fc7cf64941e0180918015bcde38125260.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')
-rw-r--r-- | www/htdig/Makefile | 11 |
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" |