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

35 lines
903 B
Makefile

# $NetBSD: Makefile,v 1.33 2001/11/29 01:12:29 hubertf Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1998/08/09 15:13:33 kuriyama Exp
#
DISTNAME= gettext-0.10.35
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
COMMENT= tools for providing messages in different languages
DEPENDS+= gettext-m4-0.10.35:../../devel/gettext-m4
USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
INFO_FILES= gettext.info
post-patch:
${RM} -f ${WRKSRC}/intl/libgettext.h
${RM} -f ${WRKSRC}/intl/libintl.h
${CP} ${FILESDIR}/libgettext.h ${WRKSRC}/intl
post-configure:
${RM} -f ${WRKSRC}/intl/libintl.h
post-install:
cd ${WRKSRC}/intl; ${MAKE_PROGRAM} install-data
.include "../../devel/gettext-lib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"