diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-12-15 17:56:29 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-12-15 17:56:29 +0000 |
commit | 8e01a9389fb4603632a6ec291a539977ab67f8af (patch) | |
tree | 29733dd4174fcfb0a7e33a561626b228f0fc5eec /lang/groovy | |
parent | Upgrade to 1.1. (diff) |
- Update to 1.0-jsr-04
- Allow user to override ${GROOVY_HOME} at runtime
- Add SHA256 info
Notes
Notes:
svn path=/head/; revision=151252
Diffstat (limited to 'lang/groovy')
-rw-r--r-- | lang/groovy/Makefile | 6 | ||||
-rw-r--r-- | lang/groovy/distinfo | 5 | ||||
-rw-r--r-- | lang/groovy/files/set-groovy_home.sed.in | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/lang/groovy/Makefile b/lang/groovy/Makefile index 37b202c57270..cd03e383c64f 100644 --- a/lang/groovy/Makefile +++ b/lang/groovy/Makefile @@ -6,7 +6,7 @@ # PORTNAME= groovy -DISTVERSION= 1.0-beta-9 +DISTVERSION= 1.0-jsr-04 CATEGORIES= lang java MASTER_SITES= http://dist.codehaus.org/groovy/distributions/ @@ -19,7 +19,7 @@ JAVA_VERSION= 1.4+ NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} DATAFILES= LICENSE.txt conf ${PORTNAME}-${DISTVERSION}.jar lib -SCRIPTFILES= grok groovy groovyConsole groovyc groovysh +SCRIPTFILES= grok groovy groovyConsole groovyc groovysh startGroovy .if !defined(NOPORTDOCS) PORTDOCS= changelog-report.html cvs-usage.html dependencies.html \ @@ -43,9 +43,9 @@ do-install: && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing executables in ${PREFIX}/bin..." + @${REINPLACE_CMD} -f ${WRKDIR}/set-groovy_home.sed ${WRKSRC}/bin/startGroovy .for file in ${SCRIPTFILES} @${ECHO_MSG} -n " ${file}" - @${REINPLACE_CMD} -f ${WRKDIR}/set-groovy_home.sed ${WRKSRC}/bin/${file} @${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${PREFIX}/bin/ .endfor @${ECHO_MSG} " [ DONE ]" diff --git a/lang/groovy/distinfo b/lang/groovy/distinfo index ab229eb4b6bb..75723db7c4a6 100644 --- a/lang/groovy/distinfo +++ b/lang/groovy/distinfo @@ -1,2 +1,3 @@ -MD5 (groovy-1.0-beta-9.tar.gz) = 57388024da87033418790d9b3157a3a7 -SIZE (groovy-1.0-beta-9.tar.gz) = 8068150 +MD5 (groovy-1.0-jsr-04.tar.gz) = 3c2cee9ef6424336b7cb95bf0e4f4b06 +SHA256 (groovy-1.0-jsr-04.tar.gz) = 034af9b7013c27f7bed32c8ca94207c6654041f9d5c4e6383c6b6abd1086ddc4 +SIZE (groovy-1.0-jsr-04.tar.gz) = 14531377 diff --git a/lang/groovy/files/set-groovy_home.sed.in b/lang/groovy/files/set-groovy_home.sed.in index c29a9e3e00ef..9f8d3300a1f2 100644 --- a/lang/groovy/files/set-groovy_home.sed.in +++ b/lang/groovy/files/set-groovy_home.sed.in @@ -1,3 +1,3 @@ # $FreeBSD$ 14i\ -GROOVY_HOME=%%DATADIR%% +GROOVY_HOME="${GROOVY_HOME:-"%%DATADIR%%"}" |