blob: f722c66e550984b4a665c45bdd155060d0341bfb (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.3 2011/09/04 18:21:26 cheusov Exp $
#
DISTNAME= runawk-1.3.1
PKGREVISION= 1
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= AWK wrapper that provides support for modules
BUILD_DEPENDS+= mk-configure>=0.21.0:../../devel/mk-configure
LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
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.
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= AWK_PROG=${AWK:Q}
.endif
EGDIR= ${PREFIX}/share/examples/runawk
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_ENV+= EGDIR=${EGDIR}
MAKE_ENV+= SUBPRJ_DFLT='runawk modules a_getopt doc examples'
AUTO_MKDIRS= yes
MAKE_PROGRAM= mkcmake
.include "../../devel/mk-configure/configure.mk"
.include "../../mk/bsd.pkg.mk"
|