summaryrefslogtreecommitdiff
path: root/devel/w32api
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-11-29 01:12:24 +0000
committerhubertf <hubertf>2001-11-29 01:12:24 +0000
commita7156fd6114f66731ac43c87becf3bfc32863119 (patch)
tree57da34d13a725a0c61343ca8eabdee3d27dfbd9a /devel/w32api
parent9e1b7e2056dec034a2775f265b4a5eff1b7b7455 (diff)
downloadpkgsrc-a7156fd6114f66731ac43c87becf3bfc32863119.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 'devel/w32api')
-rw-r--r--devel/w32api/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/w32api/Makefile b/devel/w32api/Makefile
index 43de20edbb9..2352729c824 100644
--- a/devel/w32api/Makefile
+++ b/devel/w32api/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2001/11/02 00:30:10 kent Exp $
+# $NetBSD: Makefile,v 1.8 2001/11/29 01:12:30 hubertf Exp $
# $PEACE: Makefile,v 1.15 2001/10/20 03:00:07 kent Exp $
DISTNAME= w32api-1.1-src
-PKGNAME= w32api-1.1nb1
+PKGNAME= w32api-1.1
+PKGREVISION= 1
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
CATEGORIES= devel
MASTER_SITES= http://prdownloads.sourceforge.net/mingw/