summaryrefslogtreecommitdiff
path: root/deskutils/phpcollab/Makefile
blob: 50208ffaaa151bd410b34fc5b4ebf383504afe0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: jamrich.majo@gmail.com
# $FreeBSD$

PORTNAME=	phpcollab
PORTVERSION=	2.5
PORTREVISION=	1
CATEGORIES=	deskutils
MASTER_SITES=	SF/phpcollab/final/${PORTVERSION}/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	PHPcollab is project management and collaboration over the internet

USES=		zip
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}
SHAREOWN=	${WWWOWN}
SHAREGRP=	${WWWGRP}

SUB_FILES=	pkg-message

OPTIONS_DEFAULT=MYSQL APACHE
OPTIONS_RADIO=	WEBSERVER DB
OPTIONS_RADIO_WEBSERVER=	APACHE LIGHTTPD
OPTIONS_RADIO_DB=	PGSQL MYSQL

MYSQL_USE=	PHP=mysql MYSQL=yes
PGSQL_USE=	PHP=pgsql,pdo_pgsql
PGSQL_USES=	pgsql
APACHE_USE=	APACHE_RUN=22
LIGHTTPD_RUN_DEPENDS=	lighttpd:ww/lighttpd

do-install:
	@${MKDIR} ${STAGEDIR}${WWWDIR}
	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})

.include <bsd.port.mk>