summaryrefslogtreecommitdiff
path: root/sysutils/xbatt
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-11-29 01:12:24 +0000
committerhubertf <hubertf@pkgsrc.org>2001-11-29 01:12:24 +0000
commit5542206cbab4ff38cfe05a48a6dcf0205f5c9ff5 (patch)
tree57da34d13a725a0c61343ca8eabdee3d27dfbd9a /sysutils/xbatt
parent718ca46cf7df72abd300f82ed7c9b7d676ff468b (diff)
downloadpkgsrc-5542206cbab4ff38cfe05a48a6dcf0205f5c9ff5.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 'sysutils/xbatt')
-rw-r--r--sysutils/xbatt/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/xbatt/Makefile b/sysutils/xbatt/Makefile
index 4ea42dea91f..30a44693bba 100644
--- a/sysutils/xbatt/Makefile
+++ b/sysutils/xbatt/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2001/11/26 20:02:35 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2001/11/29 01:12:48 hubertf Exp $
#
DISTNAME= xbatt-1.3pr1
-PKGNAME= xbatt-1.3.1nb1
+PKGNAME= xbatt-1.3.1
+PKGREVISION= 1
WRKSRC= ${WRKDIR}/xbatt-1.3
CATEGORIES= sysutils x11
MASTER_SITES= http://www2.clave.gr.jp/~eto/xbatt/