aboutsummaryrefslogtreecommitdiff
path: root/net/sendsnpp
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-14 09:01:09 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-14 09:01:09 +0000
commit14e5aa25e79619cdb445dc0b14697e98c0fb9929 (patch)
treeca6cc1151179ec184a9413240bebe6648b772c50 /net/sendsnpp
parent1cf648721d97f7d7134ded167f7efda6c3ba699a (diff)
downloadports-14e5aa25e79619cdb445dc0b14697e98c0fb9929.tar.gz
ports-14e5aa25e79619cdb445dc0b14697e98c0fb9929.zip
- Support staging
- Use shebangfix
Notes
Notes: svn path=/head/; revision=348185
Diffstat (limited to 'net/sendsnpp')
-rw-r--r--net/sendsnpp/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/net/sendsnpp/Makefile b/net/sendsnpp/Makefile
index 54a89e6ee64e..597e80c24144 100644
--- a/net/sendsnpp/Makefile
+++ b/net/sendsnpp/Makefile
@@ -12,16 +12,13 @@ MAINTAINER= itetcu@FreeBSD.org
COMMENT= Tool for sending messages through a RFC1861 compliant SNPP server
NO_BUILD= yes
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= run
PLIST_FILES= bin/sendSNPP.pl
-
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/${PORTNAME}.pl
+SHEBANG_FILES= sendSNPP.pl
do-install:
- cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME}.pl ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>