From dfbf38a3ef25dda3800d125bfd25148ae1c64431 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. --- textproc/rtf-tools/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'textproc/rtf-tools') diff --git a/textproc/rtf-tools/Makefile b/textproc/rtf-tools/Makefile index 14021e2b26e..93d0516aae0 100644 --- a/textproc/rtf-tools/Makefile +++ b/textproc/rtf-tools/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.3 2001/05/31 11:04:56 agc Exp $ +# $NetBSD: Makefile,v 1.4 2001/11/29 01:12:50 hubertf Exp $ # DISTNAME= RTF-1.10 -PKGNAME= rtf-tools-1.10nb1 +PKGNAME= rtf-tools-1.10 +PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.primate.wisc.edu/software/RTF/ EXTRACT_SUFX= .tar.Z -- cgit v1.2.3