From 17bad4186677325f54274142da528637732d649d Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Tue, 24 Sep 2013 13:50:42 +0000 Subject: [PATCH] Support staging --- lang/nbc/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lang/nbc/Makefile b/lang/nbc/Makefile index f466e552493e..2e1f0106cfb3 100644 --- a/lang/nbc/Makefile +++ b/lang/nbc/Makefile @@ -22,7 +22,6 @@ OPTIONS_DEFINE= DOCS ROBOCTL ROBOCTL_DESC= Include roboctl to communicate with the NXT -NO_STAGE= yes .include .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