summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2011-04-26 14:43:27 +0000
committerabs <abs@pkgsrc.org>2011-04-26 14:43:27 +0000
commit4f9ea33e53822ef487332921debc81e9e1a0e6a6 (patch)
treeaeba175b0c1d750d7459dff2ec5e94de4d812dde /textproc
parent6be4dc009614efcc5cea32927c44c76ad8e7629d (diff)
downloadpkgsrc-4f9ea33e53822ef487332921debc81e9e1a0e6a6.tar.gz
Replace SUBST foo with just REPLACE_PERL+=ack
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-ack/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/textproc/p5-ack/Makefile b/textproc/p5-ack/Makefile
index 5b5437db9a8..607bece0ea6 100644
--- a/textproc/p5-ack/Makefile
+++ b/textproc/p5-ack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2011/04/20 15:12:02 abs Exp $
+# $NetBSD: Makefile,v 1.8 2011/04/26 14:43:27 abs Exp $
DISTNAME= ack-1.94
PKGREVISION= 2
@@ -13,18 +13,15 @@ LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
+USE_TOOLS+= perl
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/ack/.packlist
+REPLACE_PERL+= ack
DEPENDS+= p5-File-Next>=0.4:../../devel/p5-File-Next
DEPENDS+= p5-Term-ANSIColor-[0-9]*:../../devel/p5-Term-ANSIColor
BUILD_DEPENDS+= {perl>=5.8.8,p5-Test-Harness>=2.5}:../../devel/p5-Test-Harness
-SUBST_CLASSES+= perl
-SUBST_STAGE.perl= do-configure
-SUBST_FILES.perl= ack
-SUBST_SED.perl+= -e "s,\#!/usr/bin/env perl,\#!${PERL5},"
-SUBST_MESSAGE.files= Rewriting /usr/bin/env perl.
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"