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

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-16 11:35:00 +00:00
parent 92ff3f86fb
commit 3c43b72754
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344536

View File

@ -18,16 +18,11 @@ PORTDOCS= errors.doc fluctuate.doc
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.include <bsd.port.options.mk>
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
post-install:
.if ${PORT_OPTIONS:MDOCS}
@ ${MKDIR} ${DOCSDIR}
@ ${INSTALL_DATA} ${WRKSRC}/*.doc ${DOCSDIR}/
.endif
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.doc ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>