diff options
author | miwi <miwi@FreeBSD.org> | 2014-05-25 13:31:13 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-05-25 13:31:13 +0800 |
commit | 1e4bcfa11f39476ced722e562fcfb0ac95c15c3b (patch) | |
tree | c7464a45ff9e762965403c062cc8ccdbaafd6cf2 /www | |
parent | 068ecece82354ac33a174d580f3a5929f4ee48a4 (diff) | |
download | freebsd-ports-gnome-1e4bcfa11f39476ced722e562fcfb0ac95c15c3b.tar.gz freebsd-ports-gnome-1e4bcfa11f39476ced722e562fcfb0ac95c15c3b.tar.zst freebsd-ports-gnome-1e4bcfa11f39476ced722e562fcfb0ac95c15c3b.zip |
- Stage support
PR: 190118
Submitted by: Joseph Benden <joe@thrallingpenguin.com>
Approved by: maintainer
Diffstat (limited to 'www')
-rw-r--r-- | www/grails/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/www/grails/Makefile b/www/grails/Makefile index 59c450ff7ba4..41ea3a8e54e5 100644 --- a/www/grails/Makefile +++ b/www/grails/Makefile @@ -29,27 +29,26 @@ PLIST_FILES= ${SCRIPTFILES:S,^,bin/,} \ PLIST_DIRS= ${DATADIR:S,${PREFIX}/,,}/bin SUB_FILES= edit-startGrails.sed pkg-message -NO_STAGE= yes do-install: @${ECHO_MSG} -n ">> Installing data files in ${DATADIR}..." @cd ${WRKSRC} \ - && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \ - && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; + && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \; \ + && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \; @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing and symlinking executables..." - @${MKDIR} ${DATADIR}/bin + @${MKDIR} ${STAGEDIR}${DATADIR}/bin @${REINPLACE_CMD} -f ${WRKDIR}/edit-startGrails.sed ${WRKSRC}/bin/startGrails .for file in ${SCRIPTFILES} @${ECHO_MSG} -n " ${file}" - @${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${DATADIR}/bin/${file} - @${LN} -fs ${DATADIR}/bin/${file} ${PREFIX}/bin/${file} + @${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${STAGEDIR}${DATADIR}/bin/${file} + @${LN} -fs ${DATADIR}/bin/${file} ${STAGEDIR}${PREFIX}/bin/${file} .endfor @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @cd ${WRKSRC}/doc \ - && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; + && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ + && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; @${ECHO_MSG} " [ DONE ]" .endif |