1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Support staging

- Use shebangfix
This commit is contained in:
Emanuel Haupt 2014-03-14 09:01:09 +00:00
parent 1cf648721d
commit 14e5aa25e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348185

View File

@ -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>