summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2002-03-21 07:38:35 +0000
committermartti <martti@pkgsrc.org>2002-03-21 07:38:35 +0000
commitc792fdf1e1c1ebcde4216755ab68c68bc5dac2b0 (patch)
tree302994006bfc4203767923222d7d5b3faa3ef127
parent47dcb815ea6f406cc7deb00532ecfcc0bdcbea6f (diff)
downloadpkgsrc-c792fdf1e1c1ebcde4216755ab68c68bc5dac2b0.tar.gz
Change the version number to 5.0.47 to fix lintpkgsrc:
# lintpkgsrc -i Scanning pkgsrc Makefiles: 2734 packages Version mismatch: 'ns-flash' 5.0r47 vs 5.0
-rw-r--r--graphics/ns-flash/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/ns-flash/Makefile b/graphics/ns-flash/Makefile
index dbd3d71ef79..4a5259fb60c 100644
--- a/graphics/ns-flash/Makefile
+++ b/graphics/ns-flash/Makefile
@@ -1,26 +1,25 @@
-# $NetBSD: Makefile,v 1.13 2002/03/17 03:37:57 jmc Exp $
+# $NetBSD: Makefile,v 1.14 2002/03/21 07:38:35 martti Exp $
#
-FLASH_VERS= ${PKGNAME:S/ns-flash-//}
-
ONLY_FOR_PLATFORM= *-*-i386 SunOS-*-sparc
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == "i386")
-PKGNAME= ns-flash-5.0r47
+FLASH_VERS= 5.0r47
DEPENDS+= suse_compat>=6.3:../../emulators/suse_compat
DEPENDS+= suse_x11>=6.3:../../emulators/suse_x11
DISTUNAME= linux
WRKNAME= flash_linux
.elif ${MACHINE_ARCH} == "sparc" && ${OPSYS} == "SunOS"
-PKGNAME= ns-flash-5.0r52
+FLASH_VERS= 5.0r52
DISTUNAME= solaris
WRKNAME= flash_solaris
.else
# Defaults so lintpkgsrc is happy
-PKGNAME= ns-flash-5.0
+FLASH_VERS= 5.0
.endif
+PKGNAME= ns-flash-${FLASH_VERS:S/r/./}
DISTNAME= flash_${DISTUNAME}
DIST_SUBDIR= flash/${FLASH_VERS}