Date: Tue, 14 Jul 2015 20:31:46 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392083 - head/security/libwhisker Message-ID: <201507142031.t6EKVk8Y030096@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507142031.t6EKVk8Y030096>