aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2012-12-29 08:05:40 +0800
committerpawel <pawel@FreeBSD.org>2012-12-29 08:05:40 +0800
commite70f3228ee8b5613fb15ee1a71053f2cd155f38b (patch)
treecc075bfb02e68d9b3612b20a975ffe8143f48c4e
parent696ccf12f834c0b4c1930d767989a1fe5dac146d (diff)
downloadfreebsd-ports-gnome-e70f3228ee8b5613fb15ee1a71053f2cd155f38b.tar.gz
freebsd-ports-gnome-e70f3228ee8b5613fb15ee1a71053f2cd155f38b.tar.zst
freebsd-ports-gnome-e70f3228ee8b5613fb15ee1a71053f2cd155f38b.zip
- Update to version 2.0.5 [1]
- Convert to OptionsNG - Remove tab from WWW: line PR: ports/174510 [1] Submitted by: Radim Kolar <hsn@sendmail.cz> Approved by: Mitchell Smith <mjsotn@gmail.com> (maintainer)
-rw-r--r--lang/groovy/Makefile15
-rw-r--r--lang/groovy/distinfo8
-rw-r--r--lang/groovy/pkg-descr2
3 files changed, 12 insertions, 13 deletions
diff --git a/lang/groovy/Makefile b/lang/groovy/Makefile
index b252ac87fc4b..004d02ea0369 100644
--- a/lang/groovy/Makefile
+++ b/lang/groovy/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: groovy
-# Date created: 2005-02-21
-# Whom: Herve Quiroz <hq@FreeBSD.org>
-#
+# Created by: Herve Quiroz <hq@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= groovy
-DISTVERSION= 2.0.1
+DISTVERSION= 2.0.5
CATEGORIES= lang java
MASTER_SITES= http://dist.groovy.codehaus.org/distributions/
DISTNAME= groovy-${PORTVERSION}
@@ -16,6 +12,7 @@ MAINTAINER= mjs@Bur.st
COMMENT= Agile dynamic language for the JVM
LICENSE= AL2
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:U}
USE_ZIP=yes
@@ -26,7 +23,9 @@ 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
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
DISTFILES+= groovy-docs-${PORTVERSION}${EXTRACT_SUFX}
PORTDOCS= html pdf
.endif
@@ -49,7 +48,7 @@ do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${PREFIX}/bin/
.endfor
@${ECHO_MSG} " [ DONE ]"
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@cd ${WRKSRC} \
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
diff --git a/lang/groovy/distinfo b/lang/groovy/distinfo
index 8172cf68459d..e9bfe090140d 100644
--- a/lang/groovy/distinfo
+++ b/lang/groovy/distinfo
@@ -1,4 +1,4 @@
-SHA256 (groovy-binary-2.0.1.zip) = 9bb87ed77a48a9f2ff05dbb70413660bab120eced68d4375fbac7273ebbe300a
-SIZE (groovy-binary-2.0.1.zip) = 28245137
-SHA256 (groovy-docs-2.0.1.zip) = c6d64d801942dd5ae83678cc31b62740fc1f89986f0bdef1e6f4e2789a3c6a55
-SIZE (groovy-docs-2.0.1.zip) = 17563174
+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
diff --git a/lang/groovy/pkg-descr b/lang/groovy/pkg-descr
index ff70581884f1..c8708281fa99 100644
--- a/lang/groovy/pkg-descr
+++ b/lang/groovy/pkg-descr
@@ -21,4 +21,4 @@ As well as being a powerful language for scripting Java objects, Groovy can be
used as an alternative compiler to javac to generate standard Java bytecode to
be used by any Java project.
-WWW: http://groovy.codehaus.org/
+WWW: http://groovy.codehaus.org/