pkgsrc/lang/mawk/Makefile
wen b98cd34066 Update to 1.3.4.20130219
Upstream changes:
20130219
        + modify missing-operand check in rexp.c to allow the case of empty
          "()", matching behavior of gawk and BWK (report by Arkadiusz
          Miskiewicz).
        + revert in-progress change to gsub retain ifdef'd for additional
          development since it did not handle array as the second parameter
          (report by Arkadiusz Miskiewicz).

20121209
        + build-fix for cygwin in matherr.c, which declares a different type
          for _LIB_VERSION
        + add missing "-f" option in examples/gdecl.awk
        + fix a regression in fflush, ensuring that it returns an error if
          the argument does not match any output filename (report by Nathan
          Weeks).
        + modify wording of configure --help message to make it clear that
          the default for --with-builtin-regex uses the builtin regular
          expression engine of mawk.
        + fix issues reported by Coverity scan.  Most of these were minor,
          and were addressed by modifying the source to allow Coverity to
          improve its analysis of the code.
        + amend support for LC_NUMERIC by translating period to the local
          decimal separator as needed to work with strtod() which is used
          to validate decimal constants when scanning source files.  This
          fixes an infinite loop with
                mawk 'BEGIN { print 1.0 }'
          (report by Jan Psota).
        + regenerate man/mawk.doc, overlooked in previous updates.
2013-05-13 01:47:57 +00:00

37 lines
787 B
Makefile

# $NetBSD: Makefile,v 1.28 2013/05/13 01:47:57 wen Exp $
#
DISTNAME= mawk-1.3.4-20130219
PKGNAME= ${DISTNAME:S/-20/.20/}
CATEGORIES= lang
MASTER_SITES= ftp://invisible-island.net/mawk/
EXTRACT_SUFX= .tgz
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= http://www.invisible-island.net/mawk/
COMMENT= AWK clone by Mike Brennan
LICENSE= gnu-gpl-v2
INSTALLATION_DIRS= ${PKGMANDIR}/man1
GNU_CONFIGURE= yes
TEST_TARGET= mawk_test fpe_test
.include "../../mk/bsd.prefs.mk"
# mawk configure fails with -ffast-math
CFLAGS:= ${CFLAGS:S/-ffast-math//}
.if ${OPSYS} == "SunOS"
MAKE_ENV+= CPPFLAGS=
.endif
DOCDIR= ${PREFIX}/share/doc/mawk
INSTALLATION_DIRS= ${DOCDIR}
post-install:
set -e; cd ${WRKSRC}; \
${INSTALL_DATA} README CHANGES ${DESTDIR}${DOCDIR}/
.include "../../mk/bsd.pkg.mk"