pkgsrc/sysutils/tload/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

21 lines
476 B
Makefile

# $NetBSD: Makefile,v 1.5 2001/11/29 01:12:48 hubertf Exp $
#
DISTNAME= procps-2.0.6
PKGNAME= tload-2.0.6
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://people.redhat.com/johnsonm/procps/
MAINTAINER= hubertf@netbsd.org
COMMENT= Terminal version of xload
do-build:
cd ${WRKSRC} ; \
${CC} ${CFLAGS} tload.c -o tload
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tload ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tload.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"