From 0e884413bcd63aa2712f6b8dc2f0bbee8348254b Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 14 Mar 2014 13:07:27 +0000 Subject: [PATCH] Support staging --- lang/huc/Makefile | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/lang/huc/Makefile b/lang/huc/Makefile index 32b9e91eacf7..8278c781a1ac 100644 --- a/lang/huc/Makefile +++ b/lang/huc/Makefile @@ -15,23 +15,20 @@ OPTIONS_DEFINE= DOCS NO_WRKSUBDIR= yes USES= gmake zip + MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS do-install: .for file in huc isolink nesasm pceas pcxtool - ${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${STAGEDIR}${PREFIX}/bin .endfor - @${MKDIR} ${PREFIX}/include/${PORTNAME} - @(cd ${WRKSRC}/include \ - && ${COPYTREE_SHARE} . ${PREFIX}/include/${PORTNAME}) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}/doc \ - && ${COPYTREE_SHARE} . ${DOCSDIR}) -.endif - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} + (cd ${WRKSRC}/include \ + && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/${PORTNAME}) + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc \ + && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include