1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-26 09:36:11 +00:00
parent b324aeea4a
commit 9c87896de5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346167

View File

@ -16,15 +16,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= yes
USES= perl5
NO_STAGE= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/qmqtool ${PREFIX}/bin
OPTIONS_DEFINE= DOCS
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/qmqtool ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in Artistic ChangeLog FAQ README
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>