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 /news | |
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 'news')
-rw-r--r-- | news/knews/Makefile | 5 | ||||
-rw-r--r-- | news/slrn/Makefile | 4 | ||||
-rw-r--r-- | news/tin/Makefile | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/news/knews/Makefile b/news/knews/Makefile index 70fca840e6c..afae48b302f 100644 --- a/news/knews/Makefile +++ b/news/knews/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.35 2001/08/15 06:09:01 fredb Exp $ +# $NetBSD: Makefile,v 1.36 2001/11/29 01:12:44 hubertf Exp $ DISTNAME= knews-1.0b.1 -PKGNAME= knews-1.0nb7 +PKGNAME= knews-1.0 +PKGREVISION= 7 CATEGORIES= news x11 MASTER_SITES= http://www.matematik.su.se/~kjj/ diff --git a/news/slrn/Makefile b/news/slrn/Makefile index 6d043f8784d..23034d68839 100644 --- a/news/slrn/Makefile +++ b/news/slrn/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2001/10/23 01:55:44 lukem Exp $ +# $NetBSD: Makefile,v 1.18 2001/11/29 01:12:44 hubertf Exp $ # DISTNAME= slrn-0.9.7.2 -PKGNAME= ${DISTNAME}nb1 +PKGREVISION= 1 CATEGORIES= news MASTER_SITES= ftp://slrn.sourceforge.net/pub/slrn/ \ ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/slrn/ \ diff --git a/news/tin/Makefile b/news/tin/Makefile index 16d78f8ac4d..c5d506ba992 100644 --- a/news/tin/Makefile +++ b/news/tin/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.11 2001/06/05 00:54:08 jtb Exp $ +# $NetBSD: Makefile,v 1.12 2001/11/29 01:12:44 hubertf Exp $ # $FreeBSD Id: Makefile,v 1.17 1997/06/16 06:39:51 max Exp DISTNAME= tin-1.4.5 -PKGNAME= ${DISTNAME}nb1 +PKGREVISION= 1 CATEGORIES= news MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/current/ \ ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/current/ \ |