head	1.20;
access;
symbols
	RELEASE_8_3_0:1.17
	RELEASE_9_0_0:1.16
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.13
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3;
locks; strict;
comment	@# @;


1.20
date	2012.12.29.00.43.49;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.11.17.05.58.51;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2012.08.23.23.00.50;	author delphij;	state Exp;
branches;
next	1.17;

1.17
date	2012.01.09.15.41.00;	author tabthorpe;	state Exp;
branches;
next	1.16;

1.16
date	2011.04.15.19.04.20;	author dhn;	state Exp;
branches;
next	1.15;

1.15
date	2011.01.04.01.47.41;	author wen;	state Exp;
branches;
next	1.14;

1.14
date	2010.01.13.06.29.15;	author wen;	state Exp;
branches;
next	1.13;

1.13
date	2008.10.24.12.39.07;	author miwi;	state Exp;
branches;
next	1.12;

1.12
date	2008.06.06.13.41.09;	author edwin;	state Exp;
branches;
next	1.11;

1.11
date	2008.05.04.14.37.51;	author rafan;	state Exp;
branches;
next	1.10;

1.10
date	2008.04.15.00.52.33;	author clsung;	state Exp;
branches;
next	1.9;

1.9
date	2008.03.08.11.10.39;	author hq;	state Exp;
branches;
next	1.8;

1.8
date	2007.05.19.20.13.39;	author flz;	state Exp;
branches;
next	1.7;

1.7
date	2006.07.05.09.48.49;	author hq;	state Exp;
branches;
next	1.6;

1.6
date	2006.06.20.09.56.43;	author hq;	state Exp;
branches;
next	1.5;

1.5
date	2006.05.09.20.52.14;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2005.12.15.17.56.28;	author hq;	state Exp;
branches;
next	1.3;

1.3
date	2005.03.29.23.43.48;	author hq;	state Exp;
branches;
next	1.2;

1.2
date	2005.03.26.19.48.55;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2005.02.21.11.21.17;	author hq;	state Exp;
branches;
next	;


desc
@@


1.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309597
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309597 | pawel | 2012-12-29 00:05:40 +0000 (Sat, 29 Dec 2012) | 8 lines
## SVN ##
## SVN ## - Update to version 2.0.5 [1]
## SVN ## - Convert to OptionsNG
## SVN ## - Remove tab from WWW: line
## SVN ##
## SVN ## PR:		ports/174510 [1]
## SVN ## Submitted by:	Radim Kolar <hsn@@sendmail.cz>
## SVN ## Approved by:	Mitchell Smith <mjsotn@@gmail.com> (maintainer)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Herve Quiroz <hq@@FreeBSD.org>
# $FreeBSD: head/lang/groovy/Makefile 309597 2012-12-29 00:05:40Z pawel $

PORTNAME=	groovy
DISTVERSION=	2.0.5
CATEGORIES=	lang java
MASTER_SITES=	http://dist.groovy.codehaus.org/distributions/
DISTNAME=	groovy-${PORTVERSION}
DISTFILES=	groovy-binary-${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER=	mjs@@Bur.st
COMMENT=	Agile dynamic language for the JVM

LICENSE=	AL2

WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION:U}

USE_ZIP=yes
USE_JAVA=	yes
JAVA_VERSION=	1.7+
NO_BUILD=	yes
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

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
DISTFILES+=	groovy-docs-${PORTVERSION}${EXTRACT_SUFX}
PORTDOCS=	html pdf
.endif
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} " [ DONE ]"
	@@${ECHO_MSG} -n ">> Installing data files in ${DATADIR}..."
	@@cd ${WRKSRC} \
	  && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
	  && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
	@@${ECHO_MSG} " [ DONE ]"
	@@${ECHO_MSG} -n ">> Installing 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/
.endfor
	@@${ECHO_MSG} " [ DONE ]"
.if ${PORT_OPTIONS:MDOCS}
	@@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
	@@cd ${WRKSRC} \
	  && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
	  && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
	@@${ECHO_MSG} " [ DONE ]"
.endif

post-install:
	@@${FIND} -s ${DATAFILES:S,^,${WRKSRC}/,} -not -type d 2>/dev/null | \
	  ${SED} -ne 's,^${WRKSRC},${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
	@@${FIND} -s -d ${DATAFILES:S,^,${WRKSRC}/,} -type d 2>/dev/null | \
	  ${SED} -ne 's,^${WRKSRC},@@dirrm ${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
	@@${ECHO_CMD} '@@dirrm ${DATADIR:S,^${PREFIX}/,,}' >> ${TMPPLIST}

.include <bsd.port.mk>
@


1.19
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	groovy
# Date created:				2005-02-21
# Whom:					Herve Quiroz <hq@@FreeBSD.org>
#
# $FreeBSD: head/lang/groovy/Makefile 303042 2012-08-23 23:00:50Z delphij $
#
d5 1
a5 1
DISTVERSION=	2.0.1
d15 1
d26 3
a28 1
.if !defined(NOPORTDOCS)
d51 1
a51 1
.if !defined(NOPORTDOCS)
@


1.18
log
@SVN rev 303042 on 2012-08-23 23:00:50Z by delphij

Update to 2.0.1 and use Java 1.7+.

PR:		ports/170942
Approved by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.17
log
@- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@@ for generating the initial patch

PR:		ports/163521
Submitted by:	Pedro Giffuni <pfg apache.org>
Hat:		portmgr
Exp run by:	pav
@
text
@d9 1
a9 1
DISTVERSION=	1.7.10
d23 1
a23 1
JAVA_VERSION=	1.5+
@


1.16
log
@- Update to 1.7.10

PR:		ports/156073
Submitted by:	Radim Kolar <hsn@@sendmail.cz>
Approved by:	maintainer timeout (two weeks)
@
text
@d18 1
a18 1
LICENSE=	ASL
@


1.15
log
@- Update to 1.7.6

PR:		ports/153323
Submitted by:	Radim Kolar <hsn@@sendmail.cz>
Approved by:	maintainer(timeout, > 14 days)
@
text
@d9 1
a9 1
DISTVERSION=	1.7.6
d18 1
@


1.14
log
@- Update to 1.7.0

PR:		ports/142758
Submitted by:	Mitchell Smith <mjs@@bur.st> (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=	1.7.0
@


1.13
log
@- Update to 1.5.7

PR:		128327
Submitted by:	Mitchell Smith <mjs@@bur.st> (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=	1.5.7
d25 1
a25 1
DATAFILES=	ASM-LICENSE.txt LICENSE.txt conf lib
@


1.12
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d9 1
a9 2
DISTVERSION=	1.5.6
PORTREVISION=	1
@


1.11
log
@- Update to 1.5.6

PR:		ports/123393
Submitted by:	Mitchell Smith <mjs at bur.st> (maintainer)
@
text
@d10 1
@


1.10
log
@- G2One, Inc. and the Groovy development team have released Groovy 1.5.5,
  a bug fix release of the 1.5.x stable branch.

Changes:	http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&styleName=Html&version=14028
PR:		ports/122779
Submitted by:	maintainer (Mitchell Smith)
@
text
@d9 1
a9 1
DISTVERSION=	1.5.5
@


1.9
log
@- Update to 1.5.4
- Pass maintainership to submitter

PR:		121457
Submitted by:	Mitchell Smith <mjs@@bur.st>
@
text
@d9 1
a9 1
DISTVERSION=	1.5.4
@


1.8
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 2
DISTVERSION=	1.0-jsr-06
PORTREVISION=	1
d11 3
a13 1
MASTER_SITES=	http://dist.codehaus.org/groovy/distributions/
d15 1
a15 1
MAINTAINER=	hq@@FreeBSD.org
d20 1
d22 1
a22 1
JAVA_VERSION=	1.4+
d25 2
a26 2
DATAFILES=	LICENSE.txt conf ${PORTNAME}-${DISTVERSION:U}.jar lib
SCRIPTFILES=	grok groovy groovyConsole groovyc groovysh startGroovy
d29 2
a30 7
PORTDOCS=	changelog-report.html cvs-usage.html dependencies.html \
		developer-activity-report.html downloads.html faq.html \
		file-activity-report.html groovy-jdk.html images index.html \
		issue-tracking.html jdepend-report.html junit-report.html \
		license.html mail-lists.html maven-reports.html \
		pmd-report.html project-info.html style team-list.html xref \
		xref-test
d53 3
a55 3
	@@cd ${WRKSRC}/docs \
	  && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
	  && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@


1.7
log
@- 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]
@
text
@d10 1
@


1.6
log
@Update to 1.0-jsr-05

Reported by:	portscout
@
text
@d9 1
a9 1
DISTVERSION=	1.0-jsr-05
d16 2
d22 1
a22 1
DATAFILES=	LICENSE.txt conf ${PORTNAME}-${DISTVERSION}.jar lib
d39 1
a39 1
	@@${INSTALL_DATA} ${WRKSRC}/embeddable/${PORTNAME}-all-${DISTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
@


1.5
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@d9 1
a9 1
DISTVERSION=	1.0-jsr-04
@


1.4
log
@- Update to 1.0-jsr-04
- Allow user to override ${GROOVY_HOME} at runtime
- Add SHA256 info
@
text
@a15 1
USE_REINPLACE=	yes
@


1.3
log
@Unbreak: fix packing list

Reported by:	kris via pointyhat
Approved by:	portmgr (krion)
@
text
@d9 1
a9 1
DISTVERSION=	1.0-beta-9
d22 1
a22 1
SCRIPTFILES=	grok groovy groovyConsole groovyc groovysh
d46 1
a48 1
	@@${REINPLACE_CMD} -f ${WRKDIR}/set-groovy_home.sed ${WRKSRC}/bin/${file}
@


1.2
log
@BROKEN: Incomplete pkg-plist

Approved by:    portmgr (self)
@
text
@a15 2
BROKEN=		Incomplete pkg-plist

d33 1
a33 1
PLIST_FILES=	${SCRIPTFILES:S,^,bin/,}
@


1.1
log
@Groovy is an agile dynamic language for the Java 2 Platform that has many of
the features that people like so much in languages like Python, Ruby and
Smalltalk, making them available to Java developers using a Java-like syntax.

Groovy is designed to help you get things done on the Java 2 Platform in a
quick, concise and fun way. Groovy brings the power of a scripting language
directly into the Java 2 Platform. For example:

- Shell scripting using Groovy allows the full power of the Java Platform to be
  brought to bear to the task at hand.
- Groovy can be used (and indeed is already being used) as a replacement for
  Java for small and medium sized applications to execute on the Java 2
  Platform.
- Groovy can be used as an embedded language for dynamic business rules or
  extension points utilizing the agility of Groovy and saving the cost of
  redeploying applications for each change of rule (especially when the rules
  are stored in a database).
- Groovy makes writing test cases for unit tests very easy.

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/
@
text
@d16 2
@

