summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorfredb <fredb>2002-03-17 16:02:34 +0000
committerfredb <fredb>2002-03-17 16:02:34 +0000
commit6d85fa6737cd9c59f3edc4970ef4a1a3cc2e95e3 (patch)
treedbc8215c848520b62cbeb66066c36dfe9f9bc9c1 /print
parente5b2c031b4fb9946f73c61386309af0906a65745 (diff)
downloadpkgsrc-6d85fa6737cd9c59f3edc4970ef4a1a3cc2e95e3.tar.gz
Use PKGNAME_NOREV in MASTER_SITES and DIST_SUBDIR definitions.
Diffstat (limited to 'print')
-rw-r--r--print/foomatic-gswrapper/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/print/foomatic-gswrapper/Makefile b/print/foomatic-gswrapper/Makefile
index 5a92affaf05..256bdbcb20c 100644
--- a/print/foomatic-gswrapper/Makefile
+++ b/print/foomatic-gswrapper/Makefile
@@ -1,17 +1,11 @@
-# $NetBSD: Makefile,v 1.4 2002/03/13 17:37:34 fredb Exp $
+# $NetBSD: Makefile,v 1.5 2002/03/17 16:02:34 fredb Exp $
DISTNAME= foomatic-gswrapper
-PKGNAME= ${DISTNAME}-1.2
+PKGNAME= foomatic-gswrapper-1.2
PKGREVISION= 1
CATEGORIES= print
EXTRACT_SUFX= # empty
-
-# 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}/}
-.endfor
+MASTER_SITES= ${MASTER_SITE_LOCAL:=${PKGNAME_NOREV}/}
# The definitive location of the distfile is at www.linuxprinting.org,
# but this file has no revision number.
@@ -22,7 +16,7 @@ MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.linuxprinting.org/gswrapper.html
COMMENT= Foomatic Ghostscript Wrapper
-DIST_SUBDIR= ${PKGNAME}
+DIST_SUBDIR= ${PKGNAME_NOREV}
DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript