37c07faa0e
Aleksey Cheusov per pkgsrc-wip
38 lines
829 B
Makefile
38 lines
829 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2011/01/20 21:42:51 drochner Exp $
|
|
#
|
|
|
|
DISTNAME= runawk-1.3.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
|
|
|
|
.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
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
MAKE_PROGRAM= mkcmake
|