aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-WebService-NoPaste
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-07-27 02:02:28 +0800
committeraz <az@FreeBSD.org>2013-07-27 02:02:28 +0800
commit2a5d7e7ea3edd58ea9bf1356cfc17dd80c1e2ed9 (patch)
tree53f8c34111463747522a7568fe44df9fc44b6932 /www/p5-WebService-NoPaste
parente5e04b178b968500c97bed3d336d343e9fae0464 (diff)
downloadfreebsd-ports-gnome-2a5d7e7ea3edd58ea9bf1356cfc17dd80c1e2ed9.tar.gz
freebsd-ports-gnome-2a5d7e7ea3edd58ea9bf1356cfc17dd80c1e2ed9.tar.zst
freebsd-ports-gnome-2a5d7e7ea3edd58ea9bf1356cfc17dd80c1e2ed9.zip
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@)
Diffstat (limited to 'www/p5-WebService-NoPaste')
-rw-r--r--www/p5-WebService-NoPaste/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/p5-WebService-NoPaste/Makefile b/www/p5-WebService-NoPaste/Makefile
index 7231d6eac8d0..29d684aad050 100644
--- a/www/p5-WebService-NoPaste/Makefile
+++ b/www/p5-WebService-NoPaste/Makefile
@@ -16,6 +16,8 @@ BUILD_DEPENDS= p5-IO-All>=0:${PORTSDIR}/devel/p5-IO-All \
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
+USES= shebangfix
+SHEBANG_FILES= nopaste
MAN3= WebService::NoPaste.3
@@ -31,7 +33,6 @@ EXTRA_PATCHES+= ${FILESDIR}/extrapatch-lib-WebService-NoPaste.pm
.endif
post-patch:
- @${PERL} -pi -e "s|/usr/bin/perl|${PERL}|;" ${WRKSRC}/nopaste
.if ! ${PORT_OPTIONS:MX11}
@${RM} ${WRKSRC}/lib/WebService/NoPaste.pm.orig
.endif