diff options
author | hubertf <hubertf> | 2001-11-29 01:12:24 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-11-29 01:12:24 +0000 |
commit | dfbf38a3ef25dda3800d125bfd25148ae1c64431 (patch) | |
tree | 57da34d13a725a0c61343ca8eabdee3d27dfbd9a /converters | |
parent | 860d7f9af53233c444d6a575ba4ac0748bc4dc74 (diff) | |
download | pkgsrc-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 'converters')
-rw-r--r-- | converters/rpm2cpio/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/converters/rpm2cpio/Makefile b/converters/rpm2cpio/Makefile index b078f189305..ebd50b954c1 100644 --- a/converters/rpm2cpio/Makefile +++ b/converters/rpm2cpio/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.8 2001/11/28 05:20:43 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2001/11/29 01:12:28 hubertf Exp $ # FreeBSD Id: ports/misc/rpm2cpio/Makefile,v 1.2 1999/08/25 07:22:29 obrien Exp DISTNAME= rpm2cpio -PKGNAME= rpm2cpio-1.0nb1 +PKGNAME= rpm2cpio-1.0 +PKGREVISION= 1 CATEGORIES= misc MASTER_SITES= http://www.iagora.com/~espel/ EXTRACT_SUFX= # none |