diff options
author | jkim <jkim@FreeBSD.org> | 2013-01-29 07:38:32 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-01-29 07:38:32 +0800 |
commit | 2d4239c222494af6a2a2f2acb5fcf89d3be5ae18 (patch) | |
tree | 51f816a178d71025b56752aa92e7bebccfa1f2ec /mail/dovecot2 | |
parent | f6e099ed6d10b5506aab7f7511bc4609e8357b3c (diff) | |
download | freebsd-ports-gnome-2d4239c222494af6a2a2f2acb5fcf89d3be5ae18.tar.gz freebsd-ports-gnome-2d4239c222494af6a2a2f2acb5fcf89d3be5ae18.tar.zst freebsd-ports-gnome-2d4239c222494af6a2a2f2acb5fcf89d3be5ae18.zip |
Add an optional support for full-text search with CLucene 2.3.x.
PR: ports/174779
Submitted by: Veniamin Gvozdikov <g.veniamin@googlemail.com>
Approved by: Attila Nagy <bra@fsn.hu> (maintainer)
Diffstat (limited to 'mail/dovecot2')
-rw-r--r-- | mail/dovecot2/Makefile | 15 | ||||
-rw-r--r-- | mail/dovecot2/pkg-plist | 12 |
2 files changed, 22 insertions, 5 deletions
diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile index 01e63ed6dc40..e552c93d5d9c 100644 --- a/mail/dovecot2/Makefile +++ b/mail/dovecot2/Makefile @@ -44,12 +44,13 @@ PROTOCOLS= imap pop3 # Default requirement for dovecot rc script _REQUIRE= LOGIN -OPTIONS_DEFINE= KQUEUE SSL GSSAPI VPOPMAIL LDAP PGSQL MYSQL SQLITE SOLR DOCS \ - EXAMPLES LIBWRAP +OPTIONS_DEFINE= KQUEUE SSL GSSAPI VPOPMAIL LDAP LUCENE PGSQL MYSQL SQLITE \ + SOLR DOCS EXAMPLES LIBWRAP OPTIONS_DEFAULT= KQUEUE SSL KQUEUE_DESC= kqueue(2) support VPOPMAIL_DESC= vpopmail support +LUCENE_DESC= CLucene FTS support SOLR_DESC= Solr FTS support .include <bsd.port.pre.mk> @@ -123,6 +124,16 @@ CONFIGURE_ARGS+=--without-ldap PLIST_SUB+= LDAP="@comment " .endif +## CLucene FTS support +# +.if ${PORT_OPTIONS:MLUCENE} +CONFIGURE_ARGS+=--with-lucene +LIB_DEPENDS+= clucene-core:${PORTSDIR}/textproc/clucene +PLIST_SUB+= LUCENE="" +.else +PLIST_SUB+= LUCENE="@comment " +.endif + ## PostgreSQL Support # .if ${PORT_OPTIONS:MPGSQL} diff --git a/mail/dovecot2/pkg-plist b/mail/dovecot2/pkg-plist index f4cea4521abf..e21fbb6f7ebc 100644 --- a/mail/dovecot2/pkg-plist +++ b/mail/dovecot2/pkg-plist @@ -369,6 +369,9 @@ lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so lib/dovecot/doveadm/lib10_doveadm_zlib_plugin.a lib/dovecot/doveadm/lib10_doveadm_zlib_plugin.la lib/dovecot/doveadm/lib10_doveadm_zlib_plugin.so +%%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.a +%%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.la +%%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so lib/dovecot/doveadm/lib20_doveadm_fts_plugin.a lib/dovecot/doveadm/lib20_doveadm_fts_plugin.la lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so @@ -427,12 +430,15 @@ lib/dovecot/lib20_virtual_plugin.so lib/dovecot/lib20_zlib_plugin.a lib/dovecot/lib20_zlib_plugin.la lib/dovecot/lib20_zlib_plugin.so -lib/dovecot/lib21_fts_squat_plugin.a -lib/dovecot/lib21_fts_squat_plugin.la -lib/dovecot/lib21_fts_squat_plugin.so +%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.a +%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.la +%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.so %%SOLR%%lib/dovecot/lib21_fts_solr_plugin.a %%SOLR%%lib/dovecot/lib21_fts_solr_plugin.la %%SOLR%%lib/dovecot/lib21_fts_solr_plugin.so +lib/dovecot/lib21_fts_squat_plugin.a +lib/dovecot/lib21_fts_squat_plugin.la +lib/dovecot/lib21_fts_squat_plugin.so lib/dovecot/lib30_imap_zlib_plugin.a lib/dovecot/lib30_imap_zlib_plugin.la lib/dovecot/lib30_imap_zlib_plugin.so |