1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Support staging

- Use shebangfix
- Define DOCS option
This commit is contained in:
Emanuel Haupt 2014-02-28 12:58:54 +00:00
parent f737d0f044
commit 5c308e91fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346504

View File

@ -17,16 +17,17 @@ RUN_DEPENDS= p5-Net-RawIP>=0:${PORTSDIR}/net/p5-Net-RawIP
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
USES= perl5
USES= perl5 shebangfix
USE_PERL5= run
NO_BUILD= yes
NO_STAGE= yes
SHEBANG_FILES= isnprober
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.ifndef NOPORTDOCS
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
.endif
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>