pkgsrc/lang/gawk/Makefile

49 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.45 2011/04/22 13:43:59 obache Exp $
DISTNAME= gawk-3.1.8
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/gawk/gawk.html
COMMENT= GNU awk
LICENSE= gnu-gpl-v3
CONFLICTS= ja-gawk-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
TEST_TARGET= check
INFO_FILES= yes
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
LDFLAGS.IRIX+= -lgen
CPPFLAGS.OSF1+= -D_OSF_SOURCE
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.gawk
PKG_SUPPORTED_OPTIONS= portals
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mportals)
CONFIGURE_ARGS+= --enable-portals
.endif
.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64)
CFLAGS+= -Dvm_region=vm_region_64
.endif
BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.10.36
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"