diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-10 22:43:35 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-10 22:43:35 +0800 |
commit | 6c190f7be6c3ab896d0157800b841743d52bd5ba (patch) | |
tree | 7bd92c18ea7116ae4d9e57945817db53337989d8 /science/devisor | |
parent | 53782ee28590f93c53d52fae916f4918a77a7e74 (diff) | |
download | freebsd-ports-gnome-6c190f7be6c3ab896d0157800b841743d52bd5ba.tar.gz freebsd-ports-gnome-6c190f7be6c3ab896d0157800b841743d52bd5ba.tar.zst freebsd-ports-gnome-6c190f7be6c3ab896d0157800b841743d52bd5ba.zip |
Stagify.
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> |