pkgsrc/x11/xview-config/Makefile
hubertf 5542206cba 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.
2001-11-29 01:12:24 +00:00

23 lines
548 B
Makefile

# $NetBSD: Makefile,v 1.13 2001/11/29 01:12:53 hubertf Exp $
# $FreeBSD Id: Makefile,v 1.9 1998/05/04 03:34:50 steve Exp
#
DISTNAME= xview3.2p1-X11R6
PKGNAME= xview-config-3.2.1
PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= jlam@netbsd.org
COMMENT= OpenLook Toolkit config files
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
EXTRACT_ELEMENTS= ${DISTNAME}/config
WRKSRC= ${WRKDIR}/${EXTRACT_ELEMENTS}
USE_IMAKE= # defined
post-extract:
@${CHMOD} -R go+rX ${WRKDIR}
.include "../../mk/bsd.pkg.mk"