aboutsummaryrefslogtreecommitdiff
path: root/lang/eperl/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-01-02 12:27:25 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-01-02 12:27:25 +0000
commit64761a0ec5b79b8a1fac3c39e5f4e3540f6cd9c0 (patch)
tree8f1d6fee7e4f7d2e93ce7a044c8e20d045f5759a /lang/eperl/Makefile
parent6387ce5cb0da8f1f9e02f1c4c237e969faf3b5b2 (diff)
downloadports-64761a0ec5b79b8a1fac3c39e5f4e3540f6cd9c0.tar.gz
ports-64761a0ec5b79b8a1fac3c39e5f4e3540f6cd9c0.zip
Notes
Diffstat (limited to 'lang/eperl/Makefile')
-rw-r--r--lang/eperl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/eperl/Makefile b/lang/eperl/Makefile
index faf1ac7cfcce..3a5066044ed7 100644
--- a/lang/eperl/Makefile
+++ b/lang/eperl/Makefile
@@ -35,6 +35,10 @@ MAN1= eperl.1
test:
@(cd ${WRKSRC}; make test)
+post-patch:
+ @find ${WRKSRC} -type f -name "*.[ch]" | xargs ${GREP} -l strnstr | \
+ xargs ${PERL} -pi -e 's|strnstr|ePerl_strnstr|g'
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/eperl ${PREFIX}/bin/eperl
${INSTALL_MAN} ${WRKSRC}/eperl.1 ${PREFIX}/man/man1/eperl.1