summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-03-19 01:36:20 +0000
committerobache <obache@pkgsrc.org>2011-03-19 01:36:20 +0000
commit37bfcb62961a7103c74ce3de2de5837971f29fe8 (patch)
tree4c25a14fc6fb103ec59fdbd75fa4d7e0845f6b0d /sysutils
parent0c90bba809fda877f912e3a89c46c5e7477dc32b (diff)
downloadpkgsrc-37bfcb62961a7103c74ce3de2de5837971f29fe8.tar.gz
replace funny trick to avoid PKGREVISION in PKGNAME with PKGNAME_NOREV.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/aperture/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysutils/aperture/Makefile b/sysutils/aperture/Makefile
index 983c9233cee..6eb7501643d 100644
--- a/sysutils/aperture/Makefile
+++ b/sysutils/aperture/Makefile
@@ -1,16 +1,11 @@
-# $NetBSD: Makefile,v 1.36 2006/05/31 02:31:56 tron Exp $
+# $NetBSD: Makefile,v 1.37 2011/03/19 01:36:20 obache Exp $
DISTNAME= apNetBSD
PKGNAME= aperture-2.0
PKGREVISION= 7
CATEGORIES= sysutils x11
EXTRACT_SUFX= .shar
-# Not sure why ${MASTER_SITE_LOCAL:=${PKGNAME}} doesn't work, but the
-# following does the correct substitution.
-#
-.for subdir in ${PKGNAME}
-MASTER_SITES= ${MASTER_SITE_LOCAL:=${subdir}nb1/}
-.endfor
+MASTER_SITES= ${MASTER_SITE_LOCAL:=${PKGNAME_NOREV}nb1/}
# The definitive location of the distfile is as below, but it's risky to depend
# on NetBSD-current files to stay stable, so don't we'll place new copies at
# MASTER_SITE_LOCAL and update this package accordingly.