diff options
author | ale <ale@FreeBSD.org> | 2009-09-08 22:57:39 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2009-09-08 22:57:39 +0800 |
commit | d1f8a34739bd6ae4d06661ceedade8d8022e61cb (patch) | |
tree | ec5567208ad3aad561b3908e0ba9368411d98c97 /mail | |
parent | 97db4fd10f66adfa2ce7ee3f22677ac0d8e2f7a3 (diff) | |
download | freebsd-ports-gnome-d1f8a34739bd6ae4d06661ceedade8d8022e61cb.tar.gz freebsd-ports-gnome-d1f8a34739bd6ae4d06661ceedade8d8022e61cb.tar.zst freebsd-ports-gnome-d1f8a34739bd6ae4d06661ceedade8d8022e61cb.zip |
- Add optional support for ldap address books
- Add optional support internal spell checker
- spellcheck.php is now recommended only for network use
- Add php-xml as required extension [1]
PR: ports/138627 [1]
Submitted by: Edmondas Girkantas <eg@fbsd.lt> [1]
Diffstat (limited to 'mail')
-rw-r--r-- | mail/roundcube/Makefile | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile index 688d5a2a1676..acdc171845c9 100644 --- a/mail/roundcube/Makefile +++ b/mail/roundcube/Makefile @@ -7,6 +7,7 @@ PORTNAME= roundcube DISTVERSION= 0.3 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= mail www MASTER_SITES= SF/${PORTNAME}mail/${PORTNAME}mail/${PORTVERSION}-stable @@ -25,7 +26,7 @@ SCRIPTS_ENV= SHAREOWN=${SHAREOWN} SHAREGRP=${SHAREGRP} \ WWWDIR=${WWWDIR} WANT_PHP_WEB= yes -USE_PHP= pcre mbstring session iconv dom +USE_PHP= pcre mbstring session iconv dom xml IGNORE_WITH_PHP=4 SUB_FILES= pkg-install @@ -43,7 +44,9 @@ OPTIONS= MYSQL "Use MySQL backend" on \ PGSQL "Use PostgreSQL backend" off \ SQLITE "Use SQLite backend" off \ SSL "Enable SSL support (imaps or google spellcheck)" off \ - LOCALCHECK "Install internal spellchecker" off \ + LDAP "Enable LDAP support (address book)" off \ + PSPELL "Enable PSpell support (internal spellcheck)" off \ + NSC "Install network spellchecker" off \ AUTOCOMP "Enable autocomplete in login form" off .include <bsd.port.pre.mk> @@ -68,15 +71,23 @@ USE_PHP+= sqlite USE_PHP+= openssl .endif -.if defined(WITH_LOCALCHECK) +.if defined(WITH_LDAP) +USE_PHP+= ldap +.endif + +.if defined(WITH_PSPELL) || defined(WITH_NSC) +USE_PHP+= pspell +.endif + +.if defined(WITH_NSC) RCUBECOMP+= spellchecker.php -USE_PHP+= pspell simplexml +USE_PHP+= simplexml PLIST_SUB+= SPELLCHECK="" .else PLIST_SUB+= SPELLCHECK="@comment " .endif -.if defined(WITH_LOCALCHECK) +.if defined(WITH_NSC) post-extract: @${CP} ${FILESDIR}/spellchecker.php ${WRKSRC} .endif |