head	1.14;
access;
symbols
	RELEASE_8_3_0:1.12
	RELEASE_9_0_0:1.12
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.3;
locks; strict;
comment	@# @;


1.14
date	2012.12.10.13.48.09;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.11.17.06.02.34;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2010.12.28.07.52.41;	author wen;	state Exp;
branches;
next	1.11;

1.11
date	2010.09.22.05.18.30;	author pgollucci;	state Exp;
branches;
next	1.10;

1.10
date	2010.04.22.01.17.14;	author sahil;	state Exp;
branches;
next	1.9;

1.9
date	2010.02.12.20.57.39;	author pgollucci;	state Exp;
branches;
next	1.8;

1.8
date	2010.01.13.06.31.52;	author wen;	state Exp;
branches;
next	1.7;

1.7
date	2009.05.20.14.29.47;	author jadawin;	state Exp;
branches;
next	1.6;

1.6
date	2009.03.28.13.53.47;	author dhn;	state Exp;
branches;
next	1.5;

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

1.4
date	2008.06.06.14.06.55;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2008.04.05.18.15.06;	author rafan;	state Exp;
branches;
next	1.2;

1.2
date	2008.03.29.05.25.13;	author beech;	state Exp;
branches;
next	1.1;

1.1
date	2008.03.11.20.10.29;	author beech;	state Exp;
branches;
next	;


desc
@@


1.14
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308605
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308605 | bapt | 2012-12-10 13:43:43 +0000 (Mon, 10 Dec 2012) | 3 lines
## SVN ##
## SVN ## Decommissioning java 1.5 (EOLed since October 2009):
## SVN ## suppress any reference to JAVA_VERSION=	1.5+ (part3)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Mitchell Smith <mjs@@bur.st>
# $FreeBSD: head/www/grails/Makefile 308605 2012-12-10 13:43:43Z bapt $

PORTNAME=	grails
DISTVERSION=	1.3.6
CATEGORIES=	www java
MASTER_SITES=	http://dist.codehaus.org/grails/ \
		http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/
DISTNAME=	${PORTNAME}-${PORTVERSION}

MAINTAINER=	mjs@@bur.st
COMMENT=	Web framework built on Groovy

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

USE_ZIP=	yes
USE_JAVA=	yes
JAVA_VERSION=	1.6+
NO_BUILD=	yes
DATADIR=	${JAVASHAREDIR}/${PORTNAME}
DATAFILES=	LICENSE README build.gradle build.properties gradle.properties \
		gradlew conf dist gradle lib media plugins scripts src
SCRIPTFILES=	grails grails-debug startGrails

.if !defined(NOPORTDOCS)
PORTDOCS=	api guide index.html css img ref
.endif
PLIST_FILES=	${SCRIPTFILES:S,^,bin/,} \
		${SCRIPTFILES:S,^,${DATADIR:S,${PREFIX}/,,}/bin/,}
PLIST_DIRS=	${DATADIR:S,${PREFIX}/,,}/bin
SUB_FILES=	edit-startGrails.sed pkg-message

do-install:
	@@${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 and symlinking executables..."
	@@${MKDIR} ${DATADIR}/bin
	@@${REINPLACE_CMD} -f ${WRKDIR}/edit-startGrails.sed ${WRKSRC}/bin/startGrails
.for file in ${SCRIPTFILES}
	@@${ECHO_MSG} -n " ${file}"
	@@${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${DATADIR}/bin/${file}
	@@${LN} -fs ${DATADIR}/bin/${file} ${PREFIX}/bin/${file}
.endfor
	@@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
	@@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
	@@cd ${WRKSRC}/doc \
	  && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
	  && ${FIND} . -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}
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.13
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	grails
# Date created:			2008-03-10
# Whom:				Mitchell Smith <mjs@@bur.st>
#
# $FreeBSD: head/www/grails/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d18 1
a18 1
JAVA_VERSION=	1.5+
@


1.12
log
@- Update to 1.3.6

PR:		ports/153365
Submitted by:	Jonathan Chen <jonc@@chen.org.nz>
Approved by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@- Update to 1.3.3

PR:             ports/148950
Submitted by:   Jani Kaarela <jani.kaarela@@gmail.com>
Approved by:    maintainer timeout (mjs@@bur.st ; ~ 2 months)
@
text
@d9 1
a9 1
DISTVERSION=	1.3.3
d11 2
a12 1
MASTER_SITES=	http://dist.codehaus.org/grails/
d26 1
a26 1
		gradlew conf dist gradle lib media plugins samples scripts src
@


1.10
log
@- Update to 1.2.2

PR:             ports/145578
Submitted by:   Jani Kaarela <jani.kaarela@@gmail.com>
Approved by:    Mitchell Smith (maintainer), wxs@@ (mentor)
@
text
@d9 1
a9 1
DISTVERSION=	1.2.2
d24 2
a25 2
DATAFILES=	LICENSE README build.properties build.xml ant conf cruise \
		dist lib media plugins samples scripts src
@


1.9
log
@- Update to 1.2.1

PR:             ports/143544
Submitted by:   Jani Kaarela <jani.kaarela@@gmail.com>
Approved by:    "Mitchell Smith" <mjsotn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=	1.2.1
d34 1
a34 1
SUB_FILES=	set-grails_home.sed pkg-message
d44 1
a44 1
	@@${REINPLACE_CMD} -f ${WRKDIR}/set-grails_home.sed ${WRKSRC}/bin/startGrails
@


1.8
log
@- Update to 1.2.0

PR:		ports/142759
Submitted by:	Mitchell Smith <mjs@@bur.st> (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=	1.2.0
d24 2
a25 2
DATAFILES=	LICENSE build.properties build.xml ant conf dist media lib \
		scripts src
d31 3
a33 1
PLIST_FILES=	${SCRIPTFILES:S,^,bin/,}
d42 2
a43 1
	@@${ECHO_MSG} -n ">> Installing executables in ${PREFIX}/bin..."
d47 2
a48 1
	@@${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${PREFIX}/bin/
@


1.7
log
@- Update to 1.1.1
- Replace /bin/bash with /bin/sh in grails-debug script

PR:		ports/134664
Submitted by:	Jonathan Chen <jonc _AT_ chen.org.nz>
@
text
@d9 1
a9 1
DISTVERSION=	1.1.1
d12 1
a12 1
DISTNAME=	${PORTNAME}-bin-${PORTVERSION}
d19 1
d21 1
a21 1
JAVA_VERSION=	1.4+
d29 1
a29 1
PORTDOCS=	api
@


1.6
log
@- Update to 1.1

PR:		ports/133075
Submitted by:	Christopher Shumway <cshumway@@titan-project.org>
Approved by:	maintainer, miwi (mentor)
@
text
@d9 1
a9 1
DISTVERSION=	1.1
@


1.5
log
@(patch) www/grails updated to 1.0.3

	Grails version 1.0.3 has been released.

PR:		Mitchell Smith <mjs@@bur.st>
Submitted by:	ports/124627
@
text
@d9 1
a9 1
DISTVERSION=	1.0.3
@


1.4
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.0.2
PORTREVISION=	2
@


1.3
log
@- Install missing essential files
- Bump PORTREVISION

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


1.2
log
@- Update to 1.0.2

PR:		ports/122179
Submitted by:	Mitchell Smith <mjs@@bur.st> (maintainer)
@
text
@d10 1
d24 2
a25 1
DATAFILES=	LICENSE conf dist media lib scripts
@


1.1
log
@- New port grails-1.0.1

Grails aims to bring the "coding by convention" paradigm to Groovy. It's an
open-source web application framework that leverages the Groovy language and
complements Java Web development. You can use Grails as a standalone
development environment that hides all configuration details or integrate your
Java business logic. Grails aims to make development as simple as possible and
hence should appeal to a wide range of developers not just those from the
Java community.

PR:		ports/121588
Submitted by:	Mitchell Smith <mjs at bur.st>
@
text
@d9 1
a9 1
DISTVERSION=	1.0.1
@

