From c81c01c7967b5fdf39d7db5abc194fb65cd4f2ad Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Tue, 24 Sep 2013 13:30:45 +0000 Subject: [PATCH] Add staging support. --- lang/bas2tap/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lang/bas2tap/Makefile b/lang/bas2tap/Makefile index 315b687d7ac0..d956386e1c2b 100644 --- a/lang/bas2tap/Makefile +++ b/lang/bas2tap/Makefile @@ -20,18 +20,17 @@ PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include do-build: ${CC} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME} -lm ${CFLAGS} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .endif