Bug 184970 - [PATCH] lang/groovy: update to 2.2.1
Summary: [PATCH] lang/groovy: update to 2.2.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-18 16:31 UTC by Radim Kolar
Modified: 2014-01-19 22:00 UTC (History)
1 user (show)

See Also:


Attachments
groovy-2.2.1.patch (3.37 KB, patch)
2013-12-18 16:31 UTC, Radim Kolar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Radim Kolar 2013-12-18 16:31:02 UTC
updated to 2.2.1
added support for staging

Port maintainer (mjs@Bur.st) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-18 16:31:51 UTC
Maintainer of lang/groovy,

Please note that PR ports/184970 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184970

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-18 16:31:52 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Mitchell Smith 2013-12-20 01:03:34 UTC
Hi,

The patch looks good, please go ahead and commit it.

Thanks


On Wed, 18 Dec 2013 16:31:51 UT, Edwin Groothuis <edwin@freebsd.org> wrote:
> Maintainer of lang/groovy,
>
> Please note that PR ports/184970 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184970
>
> --
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org
>
Comment 4 John Marino freebsd_committer freebsd_triage 2014-01-19 15:12:40 UTC
State Changed
From-To: feedback->open

Maintainer has approved.
Comment 5 dfilter service freebsd_committer freebsd_triage 2014-01-19 21:52:09 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-01-19 21:52:21 UTC
State Changed
From-To: open->closed

Committed. Thanks!