svn commit: r392083 - head/security/libwhisker
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Jul 14 20:31:46 UTC 2015
Author: amdmi3
Date: Tue Jul 14 20:31:45 2015
New Revision: 392083
URL: https://svnweb.freebsd.org/changeset/ports/392083
Log:
- Fix shebangs
Approved by: portmgr blanket
MFH: 2015Q3 (blanket)
Modified:
head/security/libwhisker/Makefile
Modified: head/security/libwhisker/Makefile
==============================================================================
--- head/security/libwhisker/Makefile Tue Jul 14 20:30:51 2015 (r392082)
+++ head/security/libwhisker/Makefile Tue Jul 14 20:31:45 2015 (r392083)
@@ -3,7 +3,7 @@
PORTNAME= libwhisker
PORTVERSION= 2.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security perl5
MASTER_SITES= SF/whisker/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}2-${PORTVERSION}
@@ -14,7 +14,10 @@ COMMENT= Perl module to create HTTP test
LICENSE= BSD2CLAUSE
NO_BUILD= yes
-USES= perl5
+USES= perl5 shebangfix
+SHEBANG_FILES= scripts/api_demo.pl scripts/crawl_demo.pl \
+ scripts/prox.pl scripts/simple_demo.pl
+
PLIST_FILES= %%SITE_PERL%%/LW2.pm \
%%PERL5_MAN3%%/LW2.3pm.gz
@@ -22,6 +25,9 @@ OPTIONS_DEFINE= DOCS
PORTDOCS= *
+post-patch:
+ @${REINPLACE_CMD} -i '' -e '1s|#!perl|${perl_CMD}|' ${WRKSRC}/scripts/form_demo[12].pl
+
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/man/man3
cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${PERL5} Makefile.pl install
More information about the svn-ports-all
mailing list