pkgsrc/lang/gawk/Makefile
ryoon 8274d0f9ba Update to 5.0.1
Changelog:
Changes from 5.0.0 to 5.0.1
---------------------------

1. A number of ChangeLog.1 files that were left out of the distribution
   have been restored.

2. Multiple syntax errors should no longer be able to cause a core dump.

3. Sandbox mode now disallows assigning new filename values in ARGV that
   were not there when gawk was invoked.

4. There are many small documentation improvements in the manual.

5. The new argument "no-ext" to --lint disables ``XXX is a gawk extension''
   lint warnings.

6. Infrastructure upgrades: Bison 3.4.

N. A number of bugs, some of them quite significant, have been fixed.
   See the ChangeLog for details.
2019-10-08 14:19:42 +00:00

51 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.70 2019/10/08 14:19:42 ryoon Exp $
DISTNAME= gawk-5.0.1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
EXTRACT_SUFX= .tar.xz
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]*
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt msgmerge xgettext
GNU_CONFIGURE= yes
TEST_TARGET= check
INFO_FILES= yes
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
LDFLAGS.IRIX+= -lgen
CPPFLAGS.OSF1+= -D_OSF_SOURCE
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64)
CFLAGS+= -Dvm_region=vm_region_64
.endif
PLIST_VARS+= extension
.if "${OPSYS}" != "MirBSD"
PLIST.extension= yes
.endif
INSTALLATION_DIRS+= ${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1
post-install:
${LN} -fs ${PREFIX}/bin/gawk ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/awk
${LN} -fs ${PREFIX}/${PKGMANDIR}/man1/gawk.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/awk.1
BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.10.36
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"