Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2014 21:52:02 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340353 - head/lang/groovy
Message-ID:  <201401192152.s0JLq2J2019094@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Jan 19 21:52:02 2014
New Revision: 340353
URL: http://svnweb.freebsd.org/changeset/ports/340353
QAT: https://qat.redports.org/buildarchive/r340353/

Log:
  - 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)

Modified:
  head/lang/groovy/Makefile
  head/lang/groovy/distinfo

Modified: head/lang/groovy/Makefile
==============================================================================
--- head/lang/groovy/Makefile	Sun Jan 19 21:36:04 2014	(r340352)
+++ head/lang/groovy/Makefile	Sun Jan 19 21:52:02 2014	(r340353)
@@ -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/,} %%
 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
 

Modified: head/lang/groovy/distinfo
==============================================================================
--- head/lang/groovy/distinfo	Sun Jan 19 21:36:04 2014	(r340352)
+++ head/lang/groovy/distinfo	Sun Jan 19 21:52:02 2014	(r340353)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401192152.s0JLq2J2019094>