2011-01-06 00:21:03 +00:00
|
|
|
# New ports collection makefile for: phpcollab
|
|
|
|
# Date created: 4 Januar 2011
|
|
|
|
# Whom: jamrich.majo@gmail.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= phpcollab
|
|
|
|
PORTVERSION= 2.5
|
|
|
|
CATEGORIES= deskutils
|
|
|
|
MASTER_SITES= SF/phpcollab/final/${PORTVERSION}/
|
|
|
|
DISTNAME= phpcollab-${PORTVERSION}
|
|
|
|
|
2011-09-27 01:16:04 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2011-01-06 00:21:03 +00:00
|
|
|
COMMENT= PHPcollab is project management and collaboration over the internet
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_PHP+= mysql
|
|
|
|
USE_MYSQL= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
WWWOWN= www
|
|
|
|
WWWGRP= ${WWWOWN}
|
|
|
|
|
|
|
|
PKGMESSAGE= ${WRKDIR}/${PORTNAME}/pkg-message
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PLIST_DIRSTRY= %%WWWDIR%%
|
|
|
|
|
2012-06-12 06:26:43 +00:00
|
|
|
OPTIONS_DEFINE= PGSQL APACHE LIGHTTPD
|
|
|
|
LIGHTTPD_DESC= Use Lighttpd webserver
|
2011-01-06 00:21:03 +00:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-06-12 06:26:43 +00:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2011-01-06 00:21:03 +00:00
|
|
|
USE_PHP+= pgsql
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql
|
|
|
|
.endif
|
2012-06-12 06:26:43 +00:00
|
|
|
.if ${PORT_OPTIONS:MAPACHE}
|
2012-08-18 14:29:08 +00:00
|
|
|
USE_APACHE_RUN= 22
|
2011-01-06 00:21:03 +00:00
|
|
|
.endif
|
2012-06-12 06:26:43 +00:00
|
|
|
.if ${PORT_OPTIONS:MLIGHTTPD}
|
2011-01-06 00:21:03 +00:00
|
|
|
RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${WWWDIR}
|
|
|
|
@${CP} -r ${WRKDIR}/phpcollab/* ${WWWDIR}
|
|
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|