head	1.11;
access;
symbols
	RELEASE_8_3_0:1.8
	RELEASE_9_0_0:1.8
	RELEASE_7_4_0:1.8
	RELEASE_8_2_0:1.8
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	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.11
date	2012.12.12.00.01.48;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2012.12.10.13.48.09;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2012.11.17.06.03.05;	author svnexp;	state Exp;
branches;
next	1.8;

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

1.7
date	2009.05.10.22.32.38;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2008.10.05.13.34.50;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2008.08.14.11.00.50;	author miwi;	state Exp;
branches;
next	1.4;

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

1.3
date	2008.05.29.08.57.22;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2008.05.22.00.31.18;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2008.05.19.06.06.50;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.11
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308722
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308722 | jgh | 2012-12-11 23:58:41 +0000 (Tue, 11 Dec 2012) | 7 lines
## SVN ##
## SVN ## - update to use tomcat6 for application server in favor tomcat55 (approaching end-of-life)
## SVN ## - cleanup some unused variables
## SVN ## - move away from war installation, as this results in unclean system on de-installation
## SVN ##
## SVN ## Submitted by:	jgh@@
## SVN ## Approved by:	wen@@ ( maintainer )
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: wenheping@@gmail.com
# $FreeBSD: head/www/sakai/Makefile 308722 2012-12-11 23:58:41Z jgh $

PORTNAME=	sakai
PORTVERSION=	2.7.1
PORTREVISION=	1
CATEGORIES=	www java
MASTER_SITES=	http://source.sakaiproject.org/release/${PORTVERSION}/artifacts/
DISTFILES=	${PORTNAME}-bin-${PORTVERSION}.tgz

MAINTAINER=	wen@@FreeBSD.org
COMMENT=	Online Collaboration and Learning Environment

RUN_DEPENDS=	${LOCALBASE}/apache-tomcat-6.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6

USE_JAVA=	yes
JAVA_VERSION=	1.6+

NO_BUILD=	yes
WRKSRC=		${WRKDIR}
SYSTEM_DIR=	common components licenses server shared webapps
TOMCAT_DIR=	${PREFIX}/apache-tomcat-6.0
PLIST_SUB+=	TOMCAT_DIR=${TOMCAT_DIR:S|^${PREFIX}/||} \
	SAKAI_VER="${PORTVERSION}" 

post-extract:
	@@cd ${WRKSRC}/webapps && `${LS} -1 |${SED} 's/.war//' >> ${WRKSRC}/list`
	@@cd ${WRKSRC}/webapps && ${MKDIR} `${CAT} ${WRKSRC}/list`
	@@cd ${WRKSRC}/webapps && for i in `${CAT} ${WRKSRC}/list` ; do ${TAR} xf $$i.war -C $$i ; done
	@@${RM} ${WRKSRC}/webapps/*.war

do-install:
.for i in ${SYSTEM_DIR}
	cd ${WRKSRC}/${i} && ${FIND} . -type d \
		-exec ${INSTALL} -d ${TOMCAT_DIR}/${i}/{} \;
	cd ${WRKSRC}/${i} && ${FIND} . -type f \
		-exec ${INSTALL} -m 644 {} ${TOMCAT_DIR}/${i}/{} \;
.endfor
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.10
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
@d2 1
a2 1
# $FreeBSD: head/www/sakai/Makefile 308605 2012-12-10 13:43:43Z bapt $
d6 1
d12 1
a12 1
COMMENT=	Sakai is an online Collaboration and Learning Environment
d14 1
a14 1
RUN_DEPENDS=	${LOCALBASE}/${TOMCAT}:${PORTSDIR}/www/tomcat55
a20 3
TOMCAT=		tomcat5.5
TOMCATOWN=	www
TOMCATGRP=	www
d22 9
a30 2
TOMCAT_DIR=	${PREFIX}/tomcat5.5
PLIST_SUB+=	SAKAI_VER="${PORTVERSION}"
a32 1

a38 2

post-install:
@


1.9
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:    sakai
# Date created:         11 March 2008
# Whom:                 wenheping@@gmail.com
#
# $FreeBSD: head/www/sakai/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d16 1
a16 1
JAVA_VERSION=	1.5+
@


1.8
log
@- Update to 2.7.1
- Update my email to FreeBSD
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.7
log
@- Update to 2.5.4

PR:		132713
Submitted by:	Wen Heping <wenheping@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.5.4
d12 1
a12 1
DISTNAME=	${PORTNAME}-bin-${PORTVERSION}
d14 1
a14 1
MAINTAINER=	wenheping@@gmail.com
d17 1
a17 1
RUN_DEPENDS=	${TOMCAT}:${PORTSDIR}/www/tomcat55
d20 1
a20 1
JAVA_VERSION=	1.5
d23 2
a24 2
WRKSRC=		${WRKDIR}/${PORTNAME}-bin-${PORTVERSION}
TOMCAT=		${PREFIX}/tomcat5.5
d27 1
a27 2
WEBAPPDIR=	${PREFIX}/tomcat5.5/webapps
SYSTEM_DIR=	common components licenses server shared
a28 1
LIC_DOC=	ECLv1.txt
a31 2
	cd ${WRKSRC}/webapps && ${FIND} . -type f -exec ${INSTALL} -g \
		${TOMCATGRP} -o ${TOMCATOWN} -m 444 {} ${WEBAPPDIR}/{} \;
a38 1
	${INSTALL_DATA} ${WRKSRC}/${LIC_DOC} ${TOMCAT_DIR}
@


1.6
log
@- Update to 2.5.3

PR:		127846
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.5.3
d11 1
a11 1
MASTER_SITES=	http://source.sakaiproject.org/release/${PORTVERSION}/sakai-2-5-3/
d31 1
@


1.5
log
@- Update to 2.5.2

PR:		126463
Submitted by:	Wen heping <wenheping@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.5.2
d11 1
a11 1
MASTER_SITES=	http://source.sakaiproject.org/release/2.5.2/sakai-2-5-2/
@


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
PORTVERSION=	2.5.0
PORTREVISION=	2
d11 2
a12 2
MASTER_SITES=	http://source.sakaiproject.org/release/2.5.0/sakai-2-5-0/
DISTNAME=	${PORTNAME}-bin-2-5-0
a32 2
#	cd ${WRKSRC}/webapps && ${FIND} . -type d -exec ${INSTALL} -d \
#		-g ${TOMCATGRP} -o ${TOMCATOWN} -m 755 ${WEBAPPDIR}/{} \;
@


1.3
log
@- Fix build

Submitted by:	pointyhat / maintainer
Tested by:	ionbot (thx)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.2
log
@- Update to 2.5.0

PR:		123837
Submitted by:	maintainer
@
text
@d10 1
d34 2
a35 2
	cd ${WRKSRC}/webapps && ${FIND} . -type d -exec ${INSTALL} -d \
		-g ${TOMCATGRP} -o ${TOMCATOWN} -m 755 ${WEBAPPDIR}/{} \;
@


1.1
log
@Sakai is an online Collaboration and Learning Environment. Many users of
Sakai deployit to support teaching and learning, ad hoc group collaboration,
support for portfolios and research collaboration.

Sakai is a free and open source product that is built and maintained by the
Sakai community. Sakai's development model is called "Community Source"
because many of the developers creating Sakai are drawn from the "community"
of organizations that have adopted and are using Sakai.

WWW: http://www.sakaiproject.org

PR:		ports/121730
Submitted by:	wenheping at gmail.com
@
text
@d9 1
a9 1
PORTVERSION=	2.4.1
d11 2
a12 2
MASTER_SITES=	http://source.sakaiproject.org/release/2.4.1/sakai_2-4-1/
DISTNAME=	${PORTNAME}-bin_2-4-1
d23 1
a23 1
WRKSRC=		${WRKDIR}
@

