summaryrefslogtreecommitdiff
path: root/lang/runawk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-05-02 12:52:43 +0000
committerwiz <wiz@pkgsrc.org>2011-05-02 12:52:43 +0000
commit832cbac9efaf0d5e30476a56d840c8c39462434b (patch)
tree67b6ce1f2ffe1cccaf84711872d93226a07fe04c /lang/runawk
parent9db345f87e0fa29705515157b22658d5ff24aa3f (diff)
downloadpkgsrc-832cbac9efaf0d5e30476a56d840c8c39462434b.tar.gz
Avoid using /usr/bin/env. Bump PKGREVISION.
Diffstat (limited to 'lang/runawk')
-rw-r--r--lang/runawk/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/runawk/Makefile b/lang/runawk/Makefile
index 1a376e21637..2d4b05b10bd 100644
--- a/lang/runawk/Makefile
+++ b/lang/runawk/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2011/01/20 21:42:51 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2011/05/02 12:52:43 wiz Exp $
#
DISTNAME= runawk-1.3.1
+PKGREVISION= 1
CATEGORIES= lang devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=runawk/} \
http://mova.org/~cheusov/pub/runawk/
@@ -19,6 +20,12 @@ 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"