aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/torrentsniff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/torrentsniff')
-rw-r--r--net-p2p/torrentsniff/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/net-p2p/torrentsniff/Makefile b/net-p2p/torrentsniff/Makefile
index e7234656ec46..82dfe59bd5cd 100644
--- a/net-p2p/torrentsniff/Makefile
+++ b/net-p2p/torrentsniff/Makefile
@@ -14,9 +14,8 @@ RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
USE_PERL5= yes
NO_BUILD= yes
-
-post-patch:
- ${PERL} -pi -e "s#/usr/local/bin/perl#${PERL5}#" ${WRKSRC}/torrentsniff
+USES= shebangfix
+SHEBANG_FILES= torrentsniff
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/torrentsniff ${LOCALBASE}/bin