- Support STAGEDIR

- While I'm here, use single space after WWW:

Approved by:	portmgr (blanket)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-02-25 14:59:31 +00:00
parent 55e2264671
commit bbc00a1847
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346017
2 changed files with 4 additions and 5 deletions

View File

@ -22,10 +22,9 @@ PLIST_DIRSTRY= %%DATADIR%%
PLIST_FILES= bin/closure-compiler \
%%DATADIR%%/compiler.jar
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/compiler.jar ${DATADIR}/
${INSTALL_SCRIPT} ${WRKSRC}/closure-compiler ${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/compiler.jar ${STAGEDIR}${DATADIR}/
${INSTALL_SCRIPT} ${WRKSRC}/closure-compiler ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>

View File

@ -5,4 +5,4 @@ and warns about common JavaScript pitfalls. It is used in many of
Google's JavaScript apps, including Gmail, Google Web Search, Google
Maps, and Google Docs.
WWW: http://code.google.com/closure/compiler/
WWW: http://code.google.com/closure/compiler/