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 /math | |
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 'math')
-rw-r--r-- | math/dcdflib.c/Makefile | 4 | ||||
-rw-r--r-- | math/scilab/Makefile | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/math/dcdflib.c/Makefile b/math/dcdflib.c/Makefile index df1bc77ebbf..b4a2defd2a4 100644 --- a/math/dcdflib.c/Makefile +++ b/math/dcdflib.c/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2001/04/14 21:43:51 jtb Exp $ +# $NetBSD: Makefile,v 1.6 2001/11/29 01:12:40 hubertf Exp $ DISTNAME= dcdflib.c-1.1 -PKGNAME= dcdflib.c-1.1nb1 +PKGREVISION= 1 CATEGORIES= math MASTER_SITES= ftp://odin.mdacc.tmc.edu/pub/source/ diff --git a/math/scilab/Makefile b/math/scilab/Makefile index 1cc7b003732..c027a1d2d03 100644 --- a/math/scilab/Makefile +++ b/math/scilab/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.27 2001/11/28 16:52:20 wiz Exp $ +# $NetBSD: Makefile,v 1.28 2001/11/29 01:12:41 hubertf Exp $ # DISTNAME= ${SCIBASE}.src -PKGNAME= ${SCIBASE}nb1 +PKGNAME= ${SCIBASE} +PKGREVISION= 1 SCIBASE= scilab-2.6 WRKSRC= ${WRKDIR}/${DISTNAME:.src=} CATEGORIES= math |