1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-27 13:02:27 +00:00
parent d24a0f1333
commit 91e42cc7ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346323
2 changed files with 6 additions and 10 deletions

View File

@ -14,16 +14,11 @@ USES= shebangfix perl5
NO_BUILD= yes
SHEBANG_FILES= calamaris
MAN1= calamaris.1
NO_STAGE= yes
do-install:
@ ${INSTALL_MAN} ${WRKSRC}/calamaris.1 ${PREFIX}/man/man1/calamaris.1
@ ${INSTALL_SCRIPT} ${WRKSRC}/calamaris ${PREFIX}/bin/calamaris
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
@ ${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${DOCSDIR}
@ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,4 +1,5 @@
bin/calamaris
man/man1/calamaris.1.gz
%%PORTDOCS%%share/doc/calamaris/EXAMPLES
%%PORTDOCS%%share/doc/calamaris/README
%%PORTDOCS%%@dirrm share/doc/calamaris