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
commit47889151fc0e0d1bd80174048df6dcc48d787155 (patch)
treedbc8215c848520b62cbeb66066c36dfe9f9bc9c1 /print
parentbe6eaf6528a88a07147bfe46fb9b2f78ca51c237 (diff)
downloadpkgsrc-47889151fc0e0d1bd80174048df6dcc48d787155.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