summaryrefslogtreecommitdiff
path: root/games/gnuchess
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-11-29 01:12:24 +0000
committerhubertf <hubertf>2001-11-29 01:12:24 +0000
commitdfbf38a3ef25dda3800d125bfd25148ae1c64431 (patch)
tree57da34d13a725a0c61343ca8eabdee3d27dfbd9a /games/gnuchess
parent860d7f9af53233c444d6a575ba4ac0748bc4dc74 (diff)
downloadpkgsrc-dfbf38a3ef25dda3800d125bfd25148ae1c64431.tar.gz
Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get bumped independent of DISTNAME and PKGNAME. Example #1: DISTNAME= foo-X.Y PKGREVISION= Z => PKGNAME= foo-X.YnbZ Example #2: DISTNAME= barthing-X.Y PKGNAME= bar-X.Y PKGREVISION= Z => PKGNAME= bar=X.YnbZ (!) On subsequent changes, only PKGREVISION needs to be bumped, no more risk of getting DISTNAME changed accidentally.
Diffstat (limited to 'games/gnuchess')
-rw-r--r--games/gnuchess/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile
index 1277c51351d..d789ad44f29 100644
--- a/games/gnuchess/Makefile
+++ b/games/gnuchess/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.12 2001/11/11 07:54:55 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2001/11/29 01:12:33 hubertf Exp $
# FreeBSD Id: Makefile,v 1.6 1999/01/27 07:41:12 fenner Exp
#
DISTNAME= chess-5.00
-PKGNAME= gnuchess-5.00nb2
+PKGNAME= gnuchess-5.00
+PKGREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU:=chess/}