2013-03-05 18:07:43 +01:00
|
|
|
# Created by: Rob Evers <rob@debank.tv>
|
2004-01-08 03:35:25 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= moregroupware
|
2007-02-13 16:21:55 +01:00
|
|
|
PORTVERSION= 0.7.4
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 3
|
2004-01-08 03:35:25 +01:00
|
|
|
CATEGORIES= deskutils www
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF
|
2007-02-13 16:21:55 +01:00
|
|
|
DISTNAME= ${PORTNAME}-core-${PORTVERSION}
|
2004-01-08 03:35:25 +01:00
|
|
|
|
2007-02-13 16:21:55 +01:00
|
|
|
MAINTAINER= eksffa@freebsdbrasil.com.br
|
2004-01-08 03:35:25 +01:00
|
|
|
COMMENT= A web based GroupWare system
|
|
|
|
|
2005-01-29 18:45:44 +01:00
|
|
|
# php extensions
|
2007-02-13 16:21:55 +01:00
|
|
|
USE_PHP= curl \
|
2005-01-29 18:45:44 +01:00
|
|
|
gd \
|
|
|
|
pcre \
|
|
|
|
session \
|
|
|
|
xml
|
2007-02-13 16:21:55 +01:00
|
|
|
|
2005-01-29 18:45:44 +01:00
|
|
|
WANT_PHP_MOD= yes
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
OPTIONS_DEFINE= ADDONS PGSQL NLS
|
|
|
|
ADDONS_DESC= install additional workgroup features (addons)
|
2007-02-13 16:21:55 +01:00
|
|
|
|
2013-09-20 18:21:37 +02:00
|
|
|
NO_STAGE= yes
|
2013-03-05 18:07:43 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2007-02-13 16:21:55 +01:00
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2007-02-13 16:21:55 +01:00
|
|
|
.endif
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2005-01-29 18:45:44 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql74-server
|
2004-01-08 03:35:25 +01:00
|
|
|
.else
|
2013-06-04 20:01:46 +02:00
|
|
|
USE_MYSQL= server
|
2004-01-08 03:35:25 +01:00
|
|
|
.endif
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MADDONS}
|
2007-02-13 16:21:55 +01:00
|
|
|
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
${PORTNAME}-addons-${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
PLIST_SUB+= ADDONS=""
|
2004-01-08 03:35:25 +01:00
|
|
|
.else
|
2007-02-13 16:21:55 +01:00
|
|
|
PLIST_SUB+= ADDONS="@comment "
|
2004-01-08 03:35:25 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
2007-02-13 16:21:55 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:R}
|
2004-01-08 03:35:25 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${CP} -r ${WRKSRC} ${PREFIX}/www/
|
|
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/moregroupware
|
|
|
|
|
2007-02-13 16:21:55 +01:00
|
|
|
post-install:
|
|
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.include <bsd.port.mk>
|