diff options
author | hubertf <hubertf> | 2001-11-29 01:12:24 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-11-29 01:12:24 +0000 |
commit | a7156fd6114f66731ac43c87becf3bfc32863119 (patch) | |
tree | 57da34d13a725a0c61343ca8eabdee3d27dfbd9a /sysutils/xdu/Makefile | |
parent | 9e1b7e2056dec034a2775f265b4a5eff1b7b7455 (diff) | |
download | pkgsrc-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 'sysutils/xdu/Makefile')
-rw-r--r-- | sysutils/xdu/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/xdu/Makefile b/sysutils/xdu/Makefile index 073dd1967a3..37549f84976 100644 --- a/sysutils/xdu/Makefile +++ b/sysutils/xdu/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2001/08/25 16:34:26 hubertf Exp $ +# $NetBSD: Makefile,v 1.6 2001/11/29 01:12:49 hubertf Exp $ # DISTNAME= xdu-3.0 -PKGNAME= xdu-3.0nb2 +PKGREVISION= 2 CATEGORIES= sysutils x11 MASTER_SITES= http://sd.wareonearth.com/~phil/xdu/ ftp://ftp.arl.mil/pub/ EXTRACT_SUFX= .tar.Z |