pkgsrc-wip/runawk/Makefile
Aleksey Cheusov 0d423c8876 updated to 0.18.0
Makefile:
    !!! "install-dirs" target has been renamed to "installdirs" !!!

    - At compile time MODULESDIR can contain a *list* of
      colon-separated directories,
      e.g. /usr/local/share/runawk:/usr/local/share/awk

  - power_getopt.awk, alt_getopt.awk and init_getopt.awk:
    - Support for multiply applied options, e.g. -vvv for increasing
      verbosity level. If option without arguments is multiply
      applied, getarg() function returns a number of times it was
      applied, not just 0 or 1.

  New modules:

    - init_getopt.awk using alt_getopt.awk and used by power_getopt.awk.
      Its goal is to initialize `long_opts' and `long_opts' variables
      but not run `getopt' function.

    - heapsort.awk  -  heapsort :-)
    - quicksort.awk - quicksort :-)
    - sort.awk      - either heapsort or quicksort,
                      the default is heapsort.
      Unfortunately GAWK's asort() and asorti() functions
      do *not* satisfy my needs. Another (and more important) reason
      is a portability.

  Improvements, clean-ups and fixes in regression tests.

  runawk-0-18-0 was successfully tested on the following platforms:
    NetBSD-5.0/x86, NetBSD-2.0/alpha, OpenBSD-4.5/x86,
    FreeBSD-7.1/x86, FreeBSD-7.1/spark, Linux/x86 and
    Darwin/ppc.
2009-11-11 18:19:13 +00:00

44 lines
952 B
Makefile

# $NetBSD: Makefile,v 1.41 2009/11/11 18:19:13 cheusov Exp $
#
DISTNAME= runawk-0.18.0
CATEGORIES= lang devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=runawk/} \
http://mova.org/~cheusov/pub/runawk/
MAINTAINER= cheusov@tut.by
HOMEPAGE= http://sourceforge.net/projects/runawk
COMMENT= Wrapper that impelements modules for AWK
LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c
USE_BSD_MAKEFILE= yes
TEST_TARGET= test
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= AWK_PROG=${AWK:Q}
.endif
PKGDOCDIR= ${PREFIX}/share/doc/runawk
EGDIR= ${PREFIX}/share/examples/runawk
AUTO_MKDIRS= yes
DOC_FILES= README NEWS ChangeLog
MAKE_ENV+= PREFIX=${PREFIX}
MAKE_ENV+= MKCATPAGES=no
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}
post-install:
.for i in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/"${i}" ${DESTDIR}${PKGDOCDIR}
.endfor
cp -p ${WRKSRC}/examples/* ${DESTDIR}/${EGDIR}/
.include "../../mk/bsd.pkg.mk"