head	1.16;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	RELEASE_7_4_0:1.11
	RELEASE_8_2_0:1.11
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.6
	RELEASE_6_3_0:1.6
	PRE_XORG_7:1.1;
locks; strict;
comment	@# @;


1.16
date	2013.03.06.12.55.11;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.11.17.06.02.34;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2011.10.17.04.35.02;	author dougb;	state Exp;
branches;
next	1.13;

1.13
date	2011.07.30.16.15.59;	author bsam;	state Exp;
branches;
next	1.12;

1.12
date	2011.06.26.18.38.56;	author bsam;	state Exp;
branches;
next	1.11;

1.11
date	2009.09.04.22.57.00;	author amdmi3;	state Exp;
branches;
next	1.10;

1.10
date	2009.08.22.00.38.09;	author amdmi3;	state Exp;
branches;
next	1.9;

1.9
date	2008.03.17.19.22.53;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2008.02.09.13.46.22;	author miwi;	state Exp;
branches;
next	1.7;

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

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

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

1.4
date	2007.07.23.11.09.16;	author lme;	state Exp;
branches;
next	1.3;

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

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

1.1
date	2007.02.20.21.35.56;	author nox;	state Exp;
branches;
next	;


desc
@@


1.16
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313460
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Aron Schlesinger <as@@bsdgroup.de>
# $FreeBSD: head/www/groupoffice/Makefile 313460 2013-03-05 17:07:43Z miwi $

PORTNAME=	groupoffice
DISTVERSIONPREFIX=	com-
DISTVERSION=	3.7.24
CATEGORIES=	www
MASTER_SITES=	SF/group-office/3.7

MAINTAINER=	as@@bsdgroup.de
COMMENT=	A modular web application framework vor office

RESTRICTED=	Free for personal use only
NO_BUILD=	yes
USE_PHP=	mysql session mbstring pcre xml
WANT_PHP_WEB=	yes
USE_MYSQL=	yes

WWWDIR?=	${PREFIX}/www/${PORTNAME}3

SUB_FILES=	pkg-message

OPTIONS_DEFINE=	IMAP GD CALENDAR WBXML
OPTIONS_DEFAULT=	IMAP GD CALENDAR
CALENDAR_DESC=	Calendar holiday support
IMAP_DESC=	IMAP support
GD_DESC=	Gallery support (GD)
WBXML_DESC=	Synchronization Support

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MIMAP}
USE_PHP+=	imap iconv
.endif

.if ${PORT_OPTIONS:MGD}
USE_PHP+=	gd
.endif

.if ${PORT_OPTIONS:MCALENDAR}
USE_PHP+=	calendar
.endif

.if ${PORT_OPTIONS:MWBXML}
LIB_DEPENDS=	wbxml2:${PORTSDIR}/textproc/wbxml2
.endif

do-install:
	@@${MKDIR} ${WWWDIR}
	${CP} -R ${WRKSRC}/ ${WWWDIR}
	@@${TOUCH} ${WWWDIR}/config.php
	@@${CHOWN} ${WWWOWN} ${WWWDIR}/config.php
	@@${CAT} ${PKGMESSAGE}

create-plist:
	@@${FIND} -s ${WRKSRC}/${file} -not -type d \
	    | ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}
	@@${ECHO_CMD} '@@exec touch %D/%%WWWDIR%%/config.php;chown ${WWWOWN} %D/%%WWWDIR%%/config.php' >> ${PLIST}
	@@${ECHO_CMD} '@@unexec if [ ! -s %D/%%WWWDIR%%/config.php ];then rm -f %D/%%WWWDIR%%/config.php;fi' >> ${PLIST}
	@@${FIND} -ds ${WRKSRC}/${file} -type d \
	    | ${SED} -e 's,^${WRKSRC},@@dirrm %%WWWDIR%%,' >> ${PLIST}

.include <bsd.port.mk>
@


1.15
log
@Switch exporter over
@
text
@d1 2
a2 5
# New ports collection makefile for:	www/groupoffice
# Date created:							16 February 2007
# Whom:					Aron Schlesinger <as@@bsdgroup.de>
#
# $FreeBSD: head/www/groupoffice/Makefile 300897 2012-07-14 14:29:18Z beat $
d23 6
a28 4
OPTIONS=	IMAP		"IMAP support" on \
		GD		"Gallery support (GD)" on \
		CALENDAR	"Calendar holiday support" on \
		WBXML		"Synchronization support" off
d30 1
a30 1
.include <bsd.port.pre.mk>
d32 1
a32 1
.if !defined(WITHOUT_IMAP)
d36 1
a36 1
.if !defined(WITHOUT_GD)
d40 1
a40 1
.if !defined(WITHOUT_CALENDAR)
d44 1
a44 1
.if !defined(WITHOUT_WBXML)
d63 1
a63 1
.include <bsd.port.post.mk>
@


1.14
log
@Remove references to mysql 323 and 40, most commonly of the form:

IGNORE_WITH_MYSQL=     323 40
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@Version upgrade: 3.7.20 -> 3.7.24.

PR:		ports/158323
Submitted by:	bsam (me)
Approved by:	as@@bsdgroup.de (maintainer timeout 5 weeks)
@
text
@a20 1
IGNORE_WITH_MYSQL=	323
@


1.12
log
@Update to version 3.7.20.

PR:		ports/157448
Submitted by:	bsam (me)
Approved by:	maintainer timeout (3+ weeks)
@
text
@d9 1
a9 1
DISTVERSION=	3.7.20
@


1.11
log
@- Fix fetch

Reported by:	pointyhat via pav
@
text
@d9 1
a9 1
DISTVERSION=	2.18-stable-21
d11 1
a11 1
MASTER_SITES=	SF/group-office/2.18
d23 1
a23 1
WWWDIR?=	${PREFIX}/www/${PORTNAME}2
@


1.10
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d11 1
a11 1
MASTER_SITES=	SF/group-office/Group-Office%20stable/2.18-stable-21
@


1.9
log
@- Update to 2.18-stable-21

Submitted by:	Aron Schlesinger (maintainer via irc)
@
text
@d11 1
a11 2
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	group-office
@


1.8
log
@- Update to 2.18-stable-15

Submitted by:	Aron Schlesinger (maintainer via irc)
Sponsord by:	German Maintainer Day
@
text
@d9 1
a9 1
DISTVERSION=	2.18-stable-15
@


1.7
log
@- Update to 2.18-stable-8

Submitted by:	Aron Schlesinger (maintainer via irc)
@
text
@d9 1
a9 1
DISTVERSION=	2.18-stable-8
@


1.6
log
@- Update to 2.17-stable-13

Submitted by:	Aron Schlesigner (maintainer via irc)
@
text
@d9 1
a9 1
DISTVERSION=	2.17-stable-13
@


1.5
log
@- Update to 2.17-stable-12

Submitted by:	Aron Schlesinger via irc (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=	2.17-stable-12
@


1.4
log
@Update to 2.17 stable 9

Approved by:	maintainer implicit, miwi (mentor)
@
text
@d9 1
a9 1
DISTVERSION=	2.17-stable-9
d11 1
a11 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
@


1.3
log
@- Update to 2.17-stable-8

Submitted by:	Aron Schlesinger (as@@bsdgroup.de) (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=	2.17-stable-8
@


1.2
log
@- Update to 2.17-stable-6
- Makefile reworked

Submitted by:	Aron Schlesinger (maintainer)
Reviewed by:	sat@@
@
text
@d9 1
a9 1
DISTVERSION=	2.17-stable-6
d28 4
a31 2
OPTIONS=	IMAP	"IMAP support" on \
		GD	"Gallery support (GD)" on
d43 8
@


1.1
log
@Group-Office is a powerfull modular Internet/Intranet application framework.
It features calendaring, project management, e-mail, tasks, addressbook,
file management.

WWW: http://www.group-office.com/

Submitted by:	Aron Schlesinger <as@@bsdgroup.de>
Approved by:	miwi (mentor)
@
text
@d8 2
a9 1
PORTVERSION=	2.16.11
a12 1
DISTNAME=	${PORTNAME}-com-2.16-11
a17 1

a18 2

.if !defined(WITHOUT_PHP_DEPENDS)
a19 2
.endif

d24 6
a29 1
OPTIONS=	IMAP "IMAP support" on
d31 1
a31 3
PORT_DBDIR?=	${DESTDIR}/var/db/ports
LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}
OPTIONSFILE?=	${PORT_DBDIR}/${LATEST_LINK}/options
d33 2
a34 2
.if exists(${OPTIONSFILE})
.include "${OPTIONSFILE}"
d37 2
a38 4
.if !defined(WITHOUT_PHP_DEPENDS)
.	if !defined(WITHOUT_IMAP) || defined(WITH_IMAP)
USE_PHP+=	imap
.	endif
a40 11
GROUPOFFICEDIR?=	www/${PORTNAME}2

SUB_FILES=	pkg-message
SUB_LIST=	"GROUPOFFICEDIR=${GROUPOFFICEDIR}" \
			"PKGNAME=${PKGNAME}" \
			"WWWOWN=${WWWOWN}"

pre-everything::
	@@${ECHO_CMD} "# you can customize the installation directory"
	@@${ECHO_CMD} "# by setting GROUPOFFICEDIR in /etc/make.conf"

d42 5
a46 2
	@@${MKDIR} ${PREFIX}/${GROUPOFFICEDIR}
	${CP} -r ${WRKSRC}/ ${PREFIX}/${GROUPOFFICEDIR}
d48 7
a54 6
post-install:
	@@${FIND} ${WRKSRC}/${file} -not -type d \
		| ${SED} -ne 's,^${WRKSRC},${GROUPOFFICEDIR},p' >> ${TMPPLIST}
	@@${FIND} -d ${WRKSRC}/${file} -type d \
		| ${SED} -ne 's,^${WRKSRC},@@dirrm ${GROUPOFFICEDIR},p' >> ${TMPPLIST}
	@@${CAT} ${PKGMESSAGE}
d56 1
a56 1
.include <bsd.port.mk>
@

