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. --- archivers/zip/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archivers') diff --git a/archivers/zip/Makefile b/archivers/zip/Makefile index 251c84196fc..de94af09900 100644 --- a/archivers/zip/Makefile +++ b/archivers/zip/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.25 2001/09/27 23:17:41 jlam Exp $ +# $NetBSD: Makefile,v 1.26 2001/11/29 01:12:25 hubertf Exp $ # FreeBSD Id: Makefile,v 1.10 1997/04/27 16:06:15 ache Exp # DISTNAME= zip-2.3 -PKGNAME= ${DISTNAME}nb1 +PKGREVISION= 1 CATEGORIES= archivers MASTER_SITES= ftp://ftp.info-zip.org/pub/infozip/src/ \ ftp://ftp.icce.rug.nl/infozip/src/ -- cgit v1.2.3