1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Support staging

This commit is contained in:
Rene Ladan 2013-09-24 13:50:42 +00:00
parent b31694c5b6
commit 17bad41866
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328134

View File

@ -22,7 +22,6 @@ OPTIONS_DEFINE= DOCS ROBOCTL
ROBOCTL_DESC= Include roboctl to communicate with the NXT
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MROBOCTL}
@ -51,13 +50,13 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/${MAKEFILE}
do-install:
${MKDIR} ${PREFIX}/include/nbc
${INSTALL_PROGRAM} ${WRKSRC}/nbc ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/nbc
${MKDIR} ${STAGEDIR}${PREFIX}/include/nbc
${INSTALL_PROGRAM} ${WRKSRC}/nbc ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/nbc
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/doc/Changelog ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/doc/Readme ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/doc/Changelog ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/doc/Readme ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>