aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2014-01-20 05:52:02 +0800
committerrakuco <rakuco@FreeBSD.org>2014-01-20 05:52:02 +0800
commit426d6d16dd50780a5089afaca66b72506636a281 (patch)
treec607796f206342af9d1dca65db65cbb414fbacac /lang
parent1f0ae79d880c555afcd78ecdf9bd7f389fd381c6 (diff)
downloadfreebsd-ports-gnome-426d6d16dd50780a5089afaca66b72506636a281.tar.gz
freebsd-ports-gnome-426d6d16dd50780a5089afaca66b72506636a281.tar.zst
freebsd-ports-gnome-426d6d16dd50780a5089afaca66b72506636a281.zip
- Update to 2.2.1.
- Support staging. PR: ports/184970 Submitted by: Radim Kolar <hsn@sendmail.cz> Approved by: Mitchell Smith <mjs@bur.st> (maintainer)
Diffstat (limited to 'lang')
-rw-r--r--lang/groovy/Makefile24
-rw-r--r--lang/groovy/distinfo8
2 files changed, 15 insertions, 17 deletions
diff --git a/lang/groovy/Makefile b/lang/groovy/Makefile
index fc5c6c86d375..a77fda622362 100644
--- a/lang/groovy/Makefile
+++ b/lang/groovy/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= groovy
-DISTVERSION= 2.0.5
+DISTVERSION= 2.2.1
CATEGORIES= lang java
MASTER_SITES= http://dist.groovy.codehaus.org/distributions/
-DISTNAME= groovy-${PORTVERSION}
DISTFILES= groovy-binary-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= mjs@Bur.st
@@ -23,7 +22,6 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME}
DATAFILES= ANTLR-LICENSE.txt ASM-LICENSE.txt CLI-LICENSE.txt JSR223-LICENSE.txt LICENSE.txt conf lib
SCRIPTFILES= groovy groovyConsole groovyc groovysh java2groovy startGroovy
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
@@ -34,26 +32,26 @@ PLIST_FILES= ${SCRIPTFILES:S,^,bin/,} %%JAVAJARDIR%%/${PORTNAME}.jar
SUB_FILES= set-groovy_home.sed
do-install:
- @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
- @${INSTALL_DATA} ${WRKSRC}/embeddable/${PORTNAME}-all-${DISTVERSION:U}.jar ${JAVAJARDIR}/${PORTNAME}.jar
+ @${ECHO_MSG} -n ">> Staging JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
+ @${INSTALL_DATA} ${WRKSRC}/embeddable/${PORTNAME}-all-${DISTVERSION:U}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [ DONE ]"
- @${ECHO_MSG} -n ">> Installing data files in ${DATADIR}..."
+ @${ECHO_MSG} -n ">> Staging 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 executables in ${PREFIX}/bin..."
+ @${ECHO_MSG} -n ">> Staging executables in ${PREFIX}/bin..."
@${REINPLACE_CMD} -f ${WRKDIR}/set-groovy_home.sed ${WRKSRC}/bin/startGroovy
.for file in ${SCRIPTFILES}
@${ECHO_MSG} -n " ${file}"
- @${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${PREFIX}/bin/
+ @${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${STAGEDIR}${PREFIX}/bin/
.endfor
@${ECHO_MSG} " [ DONE ]"
.if ${PORT_OPTIONS:MDOCS}
- @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
+ @${ECHO_MSG} -n ">> Staging documentation in ${DOCSDIR}..."
@cd ${WRKSRC} \
- && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
- && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
+ && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
+ && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
.endif
diff --git a/lang/groovy/distinfo b/lang/groovy/distinfo
index e9bfe090140d..bf59d1f8aac1 100644
--- a/lang/groovy/distinfo
+++ b/lang/groovy/distinfo
@@ -1,4 +1,4 @@
-SHA256 (groovy-binary-2.0.5.zip) = 1d0d6b8054a2347c2a53e3dbb6f96502fd4762837daff6c86decddf0bb3496c0
-SIZE (groovy-binary-2.0.5.zip) = 28341029
-SHA256 (groovy-docs-2.0.5.zip) = 067820d5da7aadc19469199370c2b1de22b585d78fd3c588db546658d3e41c54
-SIZE (groovy-docs-2.0.5.zip) = 17600013
+SHA256 (groovy-binary-2.2.1.zip) = 11262c2a0883018d4c68d353479a84bf32a694706437a31b23e17e3f2db695dc
+SIZE (groovy-binary-2.2.1.zip) = 29669397
+SHA256 (groovy-docs-2.2.1.zip) = 6eae39c07a6d2cf492105bd782090ced4e1542f714c478ddd5644fc5529d337a
+SIZE (groovy-docs-2.2.1.zip) = 27031538