863b4a16fa
Environment variable RUNAWK_KEEPTMP was introduced. If it set, temporary files are kept. This is useful for debugging. io.awk:file_size was fixed (its behaviour depended on FS value) AWK_PROGS used for testing is now settable from environment. A few typos in runawk_modules.3 were fixed. Thanks to Andrew Shadura!
32 lines
873 B
Makefile
32 lines
873 B
Makefile
# $NetBSD: Makefile,v 1.17 2015/01/07 12:50:47 cheusov Exp $
|
|
#
|
|
|
|
DISTNAME= runawk-1.6.0
|
|
CATEGORIES= lang devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=runawk/} \
|
|
http://mova.org/~cheusov/pub/runawk/
|
|
|
|
MAINTAINER= cheusov@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/projects/runawk
|
|
COMMENT= AWK wrapper that provides support for modules
|
|
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES= c
|
|
TEST_TARGET= test
|
|
|
|
SUBST_CLASSES+= runawk
|
|
SUBST_SED.runawk= -e "s,/usr/bin/env runawk,${PREFIX}/bin/runawk,"
|
|
SUBST_FILES.runawk= a_getopt/alt_getopt
|
|
SUBST_STAGE.runawk= pre-build
|
|
SUBST_MESSAGE.runawk= Fixing path to runawk.
|
|
|
|
EGDIR= ${PREFIX}/share/examples/runawk
|
|
|
|
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}
|
|
MAKE_ENV+= EGDIR=${EGDIR}
|
|
MAKE_ENV+= SUBPRJ_DFLT='runawk modules a_getopt doc examples'
|
|
MAKE_ENV+= AWK_PROG=${AWK:Q}
|
|
|
|
.include "../../devel/mk-configure/mk-c.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|