pkgsrc/devel/bison/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.76 2011/04/22 13:43:15 obache Exp $
1998-03-20 23:45:15 +01:00
DISTNAME= bison-2.4.3
PKGREVISION= 1
2001-01-13 00:34:50 +01:00
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
EXTRACT_SUFX= .tar.bz2
1998-03-20 23:45:15 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
2001-01-13 00:34:50 +01:00
HOMEPAGE= http://www.gnu.org/software/bison/bison.html
COMMENT= GNU yacc(1) replacement
2009-11-30 19:38:02 +01:00
LICENSE= gnu-gpl-v3
1998-03-20 23:45:15 +01:00
2004-01-20 23:24:35 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
2006-11-02 18:59:37 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
2004-01-20 23:24:35 +01:00
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
2006-12-07 15:21:33 +01:00
USE_PKGLOCALEDIR= yes
USE_TOOLS+= grep gm4:run msgfmt
INFO_FILES= # PLIST
CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes \
ac_cv_prog_M4=${TOOLS_PATH.gm4}
2003-08-09 09:33:27 +02:00
TEST_TARGET= check
# Avoid rebuilding manpage
pre-build:
${TOUCH} ${WRKSRC}/doc/bison.1
# "bison" wants a recent version of "gettext" which at least NetBSD doesn't
# provide. Figure out whether it will install the locale files or not.
PLIST_SRC= ${WRKDIR}/PLIST
post-configure:
if grep -q '^POSUB = po$$' ${WRKSRC}/Makefile; then \
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
else \
${GREP} -v '^share/locale/' ${PKGDIR}/PLIST >${PLIST_SRC}; \
fi
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"