5542206cba
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.
33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.11 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
|
|
PKGNAME= gettext-lib-0.10.35
|
|
PKGREVISION= 1
|
|
SVR4_PKGNAME= gttli
|
|
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, libintl only
|
|
|
|
CONFLICTS= gettext<=0.10.35
|
|
GNU_CONFIGURE= yes
|
|
USE_BUILDLINK_ONLY= yes
|
|
USE_LIBTOOL= yes
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
CONFIGURE_ARGS+= --with-included-gettext
|
|
|
|
PATCHDIR= ${.CURDIR}/../../devel/gettext/patches
|
|
DISTINFO_FILE= ${.CURDIR}/../../devel/gettext/distinfo
|
|
INSTALL_TARGET= install-exec
|
|
|
|
do-build:
|
|
${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}/intl && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}
|
|
|
|
do-install:
|
|
${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}/intl && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|