pkgsrc/devel/rcs/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

31 lines
852 B
Makefile

# $NetBSD: Makefile,v 1.11 2001/11/29 01:12:30 hubertf Exp $
#
DISTNAME= rcs-5.7
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=rcs/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/rcs/rcs.html
COMMENT= GNU Revision Control System - version control software
ONLY_FOR_PLATFORM= SunOS-*-* Darwin-*-* # in NetBSD base system
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
DEPENDS= diffutils-2.7:../../devel/diffutils
CONFIGURE_ARGS+= --with-diffutils=gdiff
.endif
GNU_CONFIGURE= yes
CONFIGURE_ENV= PATH=${LOCALBASE}/bin:$PATH
post-install:
${RM} -f ${PREFIX}/bin/rcslog
${LN} -s ${PREFIX}/bin/rlog ${PREFIX}/bin/rcslog
${RM} -f ${PREFIX}/man/man1/rcslog.1 ${PREFIX}/man/man1/rcslog.1.gz
${LN} -s ${PREFIX}/man/man1/rlog.1 ${PREFIX}/man/man1/rcslog.1
.include "../../mk/bsd.pkg.mk"