diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-10 14:43:35 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-10 14:43:35 +0000 |
commit | 002609e8c5dcb0961008b7ae0ffe6610b6a17f79 (patch) | |
tree | 7bd92c18ea7116ae4d9e57945817db53337989d8 /science/devisor | |
parent | 6a2f4f66ba53281616e9291674317f24f6c9f502 (diff) |
Stagify.
Notes
Notes:
svn path=/head/; revision=357315
Diffstat (limited to 'science/devisor')
-rw-r--r-- | science/devisor/Makefile | 23 |
1 files 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 <bsd.port.options.mk> 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 <bsd.port.mk> |