From a7156fd6114f66731ac43c87becf3bfc32863119 Mon Sep 17 00:00:00 2001 From: hubertf Date: Thu, 29 Nov 2001 01:12:24 +0000 Subject: 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. --- lang/clisp/Makefile | 5 +++-- lang/f2c/Makefile | 4 ++-- lang/gcc-ssp/Makefile | 5 +++-- lang/snobol/Makefile | 4 ++-- lang/tcl/Makefile | 5 +++-- lang/vscm/Makefile | 5 +++-- 6 files changed, 16 insertions(+), 12 deletions(-) (limited to 'lang') diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile index fd619d6b914..a1092184282 100644 --- a/lang/clisp/Makefile +++ b/lang/clisp/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.19 2001/03/23 14:36:04 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2001/11/29 01:12:38 hubertf Exp $ DISTNAME= clisp-2000-03-06 -PKGNAME= clisp-20000306nb1 +PKGNAME= clisp-20000306 +PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= ftp://ftp2.cons.org/pub/lisp/clisp/source/ \ ftp://ftp.tu-darmstadt.de/pub/programming/languages/lisp/clisp/source/ diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile index ad1850d0a97..ca444d2b87b 100644 --- a/lang/f2c/Makefile +++ b/lang/f2c/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.17 2001/07/18 21:48:36 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2001/11/29 01:12:38 hubertf Exp $ DISTNAME= f2c-20001205 -PKGNAME= f2c-20001205nb4 +PKGREVISION= 4 WRKSRC= ${WRKDIR}/f2c CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_LOCAL} diff --git a/lang/gcc-ssp/Makefile b/lang/gcc-ssp/Makefile index bd5f5f681b5..27d9e67a968 100644 --- a/lang/gcc-ssp/Makefile +++ b/lang/gcc-ssp/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2001/09/27 23:18:17 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2001/11/29 01:12:39 hubertf Exp $ DISTNAME= gcc-2.95.2 GCC_VERSION= 2.95.2 -PKGNAME= gcc-ssp-2.95.2nb3 +PKGNAME= gcc-ssp-2.95.2 +PKGREVISION= 3 PKGBASENAME= gcc-ssp CATEGORIES= lang security MASTER_SITES= ${MASTER_SITE_GNU:=gcc/} diff --git a/lang/snobol/Makefile b/lang/snobol/Makefile index 96b58c4ba1c..c683bcb483c 100644 --- a/lang/snobol/Makefile +++ b/lang/snobol/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2001/09/27 23:18:18 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2001/11/29 01:12:39 hubertf Exp $ # DISTNAME= snobol-0.99.4 -PKGNAME= snobol-0.99.4nb1 +PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= ftp://ftp.snobol4.com/ \ ftp://alpha.gnu.org/budne/snobol/ diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile index cd0722ed207..0e714332f8e 100644 --- a/lang/tcl/Makefile +++ b/lang/tcl/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.12 2001/09/27 23:18:20 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2001/11/29 01:12:39 hubertf Exp $ # DISTNAME= tcl8.3.2 -PKGNAME= tcl-8.3.2nb2 +PKGNAME= tcl-8.3.2 +PKGREVISION= 2 CATEGORIES= lang MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_3/ \ ftp://gd.tuwien.ac.at/languages/tcl/scriptics/tcl8_3/ \ diff --git a/lang/vscm/Makefile b/lang/vscm/Makefile index 7cc58619b7b..da375e6199d 100644 --- a/lang/vscm/Makefile +++ b/lang/vscm/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.7 2001/05/11 01:43:03 jtb Exp $ +# $NetBSD: Makefile,v 1.8 2001/11/29 01:12:39 hubertf Exp $ DISTNAME= vscmV0r4 -PKGNAME= vscm-0.4nb1 +PKGNAME= vscm-0.4 +PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/scheme-repository/imp/vscm/ -- cgit v1.2.3