blob: d930a928a76b8e1c5ebfeca997f64fad791bd79f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.21 2020/01/18 23:32:45 rillig Exp $
#
DISTNAME= runawk-1.6.1
CATEGORIES= lang devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=runawk/}
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= https://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"
|