aboutsummaryrefslogtreecommitdiffstats
path: root/news/mail2nntp
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-27 18:20:38 +0800
committerbapt <bapt@FreeBSD.org>2013-12-27 18:20:38 +0800
commit9f080c422681829157e67777c5301b945d0b551b (patch)
tree5c31ca1769bcb5afe37fbb5416874be30a258f60 /news/mail2nntp
parentf7a72eb82676beb5274cd2e786b8b1e761654a5b (diff)
downloadfreebsd-ports-gnome-9f080c422681829157e67777c5301b945d0b551b.tar.gz
freebsd-ports-gnome-9f080c422681829157e67777c5301b945d0b551b.tar.zst
freebsd-ports-gnome-9f080c422681829157e67777c5301b945d0b551b.zip
Support stage
Fix shebang
Diffstat (limited to 'news/mail2nntp')
-rw-r--r--news/mail2nntp/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/news/mail2nntp/Makefile b/news/mail2nntp/Makefile
index da20a0a2f23f..b55addc9e095 100644
--- a/news/mail2nntp/Makefile
+++ b/news/mail2nntp/Makefile
@@ -13,22 +13,18 @@ LICENSE= GPLv2
RUN_DEPENDS= p5-NNTPClient>=0:${PORTSDIR}/news/p5-NNTPClient
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= run
NO_BUILD= yes
+SHEBANG_FILES= mail2nntp.pl
PORTDOCS= *
PLIST_FILES= bin/mail2nntp.pl
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/mail2nntp.pl ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/Changelog ${DOCSDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/mail2nntp.pl ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Changelog ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>