diff options
author | bapt <bapt@FreeBSD.org> | 2013-12-27 18:01:32 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-12-27 18:01:32 +0800 |
commit | bf27e74d891833c32a465b295ae388ab82466c5b (patch) | |
tree | c410c7707ecd32437c161e73637b3c944f5dbf75 /news/newsgrab | |
parent | 9a932034e2ea47b5f6fa6e1168d2c0d42dc1b941 (diff) | |
download | freebsd-ports-gnome-bf27e74d891833c32a465b295ae388ab82466c5b.tar.gz freebsd-ports-gnome-bf27e74d891833c32a465b295ae388ab82466c5b.tar.zst freebsd-ports-gnome-bf27e74d891833c32a465b295ae388ab82466c5b.zip |
Support stage
Diffstat (limited to 'news/newsgrab')
-rw-r--r-- | news/newsgrab/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/news/newsgrab/Makefile b/news/newsgrab/Makefile index daab2b014639..7295b937c6dc 100644 --- a/news/newsgrab/Makefile +++ b/news/newsgrab/Makefile @@ -17,18 +17,13 @@ RUN_DEPENDS= p5-NNTPClient>=0:${PORTSDIR}/news/p5-NNTPClient \ p5-Time-modules>=0:${PORTSDIR}/devel/p5-Time-modules NO_BUILD= yes -USES= perl5 - -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/newsgrab.pl +USES= perl5 shebangfix +SHEBANG_FILES= newsgrab.pl do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/newsgrab.pl ${PREFIX}/bin/newsgrab -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/newsgrab - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/newsgrab - ${INSTALL_DATA} ${WRKSRC}/newsgrabrc ${PREFIX}/share/doc/newsgrab -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/newsgrab.pl ${STAGEDIR}${PREFIX}/bin/newsgrab + @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/newsgrab + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/newsgrab + ${INSTALL_DATA} ${WRKSRC}/newsgrabrc ${STAGEDIR}${PREFIX}/share/doc/newsgrab .include <bsd.port.mk> |