aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-12-02 20:53:33 +0800
committerflz <flz@FreeBSD.org>2005-12-02 20:53:33 +0800
commitfc844cee87e1cd7328c1e77cc8b5e25c67b9f2de (patch)
treef47190590c78628637ae50000af997dbeb9d5dac /mail
parent6b965269d8e9f69fb4bba46541561116dd04e71d (diff)
downloadfreebsd-ports-gnome-fc844cee87e1cd7328c1e77cc8b5e25c67b9f2de.tar.gz
freebsd-ports-gnome-fc844cee87e1cd7328c1e77cc8b5e25c67b9f2de.tar.zst
freebsd-ports-gnome-fc844cee87e1cd7328c1e77cc8b5e25c67b9f2de.zip
- Add OPTIONS.
- Replace WANT_PHP_MOD with WANT_PHP_WEB since roundcube works with CGI too.
Diffstat (limited to 'mail')
-rw-r--r--mail/roundcube/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile
index 3f24fd1f5cbd..0097a474e46a 100644
--- a/mail/roundcube/Makefile
+++ b/mail/roundcube/Makefile
@@ -34,7 +34,13 @@ SCRIPTS_ENV= SHAREOWN=${SHAREOWN} SHAREGRP=${SHAREGRP} \
WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} \
RCUBEROOT=${RCUBEROOT}
-WANT_PHP_MOD= yes
+WANT_PHP_WEB= yes
+
+OPTIONS= MYSQL "Use MySQL backend" on \
+ PGSQL "Use PostgreSQL backend" off \
+ SQLITE "Use SQLite backend" off
+
+.include <bsd.port.pre.mk>
.if !defined(WITHOUT_MYSQL)
USE_PHP+= mysql
@@ -48,6 +54,8 @@ USE_PHP+= pgsql
USE_PHP+= sqlite
.endif
+.include "${PORTSDIR}/Mk/bsd.php.mk"
+
do-install:
${MKDIR} ${RCUBEROOT}
.for i in ${RCUBECOMP}
@@ -65,4 +73,4 @@ post-install:
@${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>