From 002609e8c5dcb0961008b7ae0ffe6610b6a17f79 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Tue, 10 Jun 2014 14:43:35 +0000 Subject: [PATCH] Stagify. --- science/devisor/Makefile | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/science/devisor/Makefile b/science/devisor/Makefile index 57a0f94c3c29..b879ab24103f 100644 --- a/science/devisor/Makefile +++ b/science/devisor/Makefile @@ -27,34 +27,33 @@ PLIST_FILES= bin/devisorgrid OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/devisorgrid.sh ${PREFIX}/bin/devisorgrid + ${INSTALL_SCRIPT} ${WRKDIR}/devisorgrid.sh ${STAGEDIR}${PREFIX}/bin/devisorgrid cd ${WRKSRC} \ - && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \ - && ${FIND} ${DATAFILES} -type f -not -name '*.pdf' -print -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; + && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \; \ + && ${FIND} ${DATAFILES} -type f -not -name '*.pdf' -print -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \; cd ${WRKSRC} \ - && ${FIND} ${CLASSFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \ - && ${FIND} ${CLASSFILES} -name '*.class' -type f -print -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; + && ${FIND} ${CLASSFILES} -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \; \ + && ${FIND} ${CLASSFILES} -name '*.class' -type f -print -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \; .if ${PORT_OPTIONS:MDOCS} cd ${WRKSRC}/manual \ - && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ - && ${FIND} . -type f -name '*.pdf' -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; + && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ + && ${FIND} . -type f -name '*.pdf' -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; .endif post-install: @cd ${WRKSRC} \ && ${FIND} -s ${DATAFILES} -type f -not -name '*.pdf' \ - | ${SED} -ne 's,^,${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST} \ + | ${SED} -ne 's,^,${DATADIR:S,${STAGEDIR}${PREFIX}/,,}/,p' >> ${TMPPLIST} \ && ${FIND} -s -d ${DATAFILES} -type d \ - | ${SED} -ne 's,^,@dirrm ${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST} + | ${SED} -ne 's,^,@dirrm ${DATADIR:S,${STAGEDIR}${PREFIX}/,,}/,p' >> ${TMPPLIST} @cd ${WRKSRC} \ && ${FIND} -s ${CLASSFILES} -name '*.class' -type f \ - | ${SED} -ne 's,^,${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST} \ + | ${SED} -ne 's,^,${DATADIR:S,${STAGEDIR}${PREFIX}/,,}/,p' >> ${TMPPLIST} \ && ${FIND} -s -d ${CLASSFILES} -type d \ - | ${SED} -ne 's,^,@dirrm ${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST} + | ${SED} -ne 's,^,@dirrm ${DATADIR:S,${STAGEDIR}${PREFIX}/,,}/,p' >> ${TMPPLIST} @${ECHO_CMD} '@dirrm ${DATADIR:S,${PREFIX}/,,}' >> ${TMPPLIST} .include