pkgsrc/devel/gmake/Makefile
jlam d5a220d761 GNU make 3.8.0 doesn't really need GNU gettext. Rely on latest
gettext-lib/buildlink2.mk to convince the configure script that the system
libintl really is okay.
2002-10-16 22:08:58 +00:00

47 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.34 2002/10/16 22:08:58 jlam Exp $
DISTNAME= make-3.80
PKGNAME= gmake-3.80
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=make/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/make/make.html
COMMENT= GNU version of 'make' utility
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --program-prefix="g"
CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
TEXINFO_OVERRIDE= YES
TEXINFO_REQD= 4.0
.include "../../mk/bsd.prefs.mk"
.if (${GMAKE_NSEC_TIMESTAMPS} == "NO")
CONFIGURE_ARGS+= --disable-nsec-timestamps
.endif
BUILD_DEFS+= GMAKE_NSEC_TIMESTAMPS
post-extract:
${MV} ${WRKSRC}/doc/make.texi ${WRKSRC}/doc/make.texi.orig
${SED} '/@dircategory/s|.*|@dircategory Programming \& development tools|' \
< ${WRKSRC}/doc/make.texi.orig > ${WRKSRC}/doc/make.texi
post-install:
${CHMOD} g-s ${PREFIX}/bin/gmake
${CHGRP} ${BINGRP} ${PREFIX}/bin/gmake
# NOTE: the 'test' target requires perl, but since gmake does
# not otherwise require it, perl is not listed as an explicit
# dependency
test: build
cd ${WRKSRC} && \
${MAKE_ENV} ${MAKE_PROGRAM} check 2>&1 | \
tee ${WRKDIR}/tests.log
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"