mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
66 lines
1.3 KiB
Makefile
66 lines
1.3 KiB
Makefile
# New ports collection makefile for: egroupware
|
|
# Date created: 27 March 2001
|
|
# Whom: Jimmy Olgeni <olgeni@uli.it>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= eGroupWare
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= egroupware
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-102
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= A web based GroupWare system
|
|
|
|
USE_BZIP2= yes
|
|
USE_PHP= pcre session xml
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/egroupware
|
|
|
|
.if defined(WITH_POSTGRESQL)
|
|
USE_PHP+= pgsql
|
|
.endif
|
|
.if defined(WITH_MBSTRING)
|
|
USE_PHP+= mbstring
|
|
.endif
|
|
.if defined(WITH_IMAP)
|
|
USE_PHP+= imap
|
|
.endif
|
|
.if defined(WITH_GD)
|
|
USE_PHP+= gd
|
|
.endif
|
|
|
|
DEST= ${PREFIX}/www/data-dist/egroupware
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-extract:
|
|
@${FIND} ${WRKSRC} -name .svn -type d | ${XARGS} ${RM} -rf
|
|
|
|
do-install:
|
|
-${MKDIR} ${DEST}
|
|
@${CP} -r ${WRKSRC}/.htaccess ${WRKSRC}/* ${DEST}/
|
|
${CHMOD} g+w ${DEST}/phpgwapi/images
|
|
${CHGRP} ${WWWGRP} ${DEST}/phpgwapi/images
|
|
|
|
# --- postgresql.conf
|
|
# tcpip_socket = true
|
|
# ports = 5432
|
|
#
|
|
# --- pg_hba.conf
|
|
# local $dbname trust
|
|
# host $dbname all 127.0.0.1 255.255.255.255 md5
|
|
#
|
|
# --- php.ini
|
|
# memory_limit = 16M (or above)
|
|
#
|
|
# createuser $dbuser -P -A -d
|
|
# createdb -U $dbuser $dbname
|
|
#
|
|
# Open http://localhost/egroupware/setup/index.php
|
|
|
|
.include <bsd.port.post.mk>
|