diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2006-07-05 09:48:49 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2006-07-05 09:48:49 +0000 |
commit | 88ccac22d2dd43c2d13c425264728704f5ea3d1b (patch) | |
tree | c05a91343216edbd2917a052949cc4aca797064c /lang/groovy/Makefile | |
parent | 724dbf58d1ecbb69584fb355b756be63cbc2e35d (diff) | |
download | ports-88ccac22d2dd43c2d13c425264728704f5ea3d1b.tar.gz ports-88ccac22d2dd43c2d13c425264728704f5ea3d1b.zip |
- Update to 1.0-jsr-06 [1]
- Set GROOVY_HOME only when not already defined
- Set JAVA_HOME when not already defined, using feature from javavmwrapper 2.2
Reported by: portscout [1]
Notes
Notes:
svn path=/head/; revision=166975
Diffstat (limited to 'lang/groovy/Makefile')
-rw-r--r-- | lang/groovy/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/groovy/Makefile b/lang/groovy/Makefile index 7e42ac38b896..9fe049b1e641 100644 --- a/lang/groovy/Makefile +++ b/lang/groovy/Makefile @@ -6,18 +6,20 @@ # PORTNAME= groovy -DISTVERSION= 1.0-jsr-05 +DISTVERSION= 1.0-jsr-06 CATEGORIES= lang java MASTER_SITES= http://dist.codehaus.org/groovy/distributions/ MAINTAINER= hq@FreeBSD.org COMMENT= Agile dynamic language for the JVM +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:U} + USE_JAVA= yes JAVA_VERSION= 1.4+ NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} -DATAFILES= LICENSE.txt conf ${PORTNAME}-${DISTVERSION}.jar lib +DATAFILES= LICENSE.txt conf ${PORTNAME}-${DISTVERSION:U}.jar lib SCRIPTFILES= grok groovy groovyConsole groovyc groovysh startGroovy .if !defined(NOPORTDOCS) @@ -34,7 +36,7 @@ SUB_FILES= set-groovy_home.sed do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." - @${INSTALL_DATA} ${WRKSRC}/embeddable/${PORTNAME}-all-${DISTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${INSTALL_DATA} ${WRKSRC}/embeddable/${PORTNAME}-all-${DISTVERSION:U}.jar ${JAVAJARDIR}/${PORTNAME}.jar @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing data files in ${DATADIR}..." @cd ${WRKSRC} \ |