aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2017-01-28 19:07:27 +0800
committerrene <rene@FreeBSD.org>2017-01-28 19:07:27 +0800
commit07ccced9894e68c2ad5de1abc32f3cc3e3934a59 (patch)
tree83c553601fb2a53d9e505877b9224f771492a6bb /mail
parent8ae65954888f204bf2186f6d72cec5a01dbb477d (diff)
downloadfreebsd-ports-gnome-07ccced9894e68c2ad5de1abc32f3cc3e3934a59.tar.gz
freebsd-ports-gnome-07ccced9894e68c2ad5de1abc32f3cc3e3934a59.tar.zst
freebsd-ports-gnome-07ccced9894e68c2ad5de1abc32f3cc3e3934a59.zip
mail/bsfilter: remove optional dependency on expired japanese/ruby-mecab and
bump PORTREVISION
Diffstat (limited to 'mail')
-rw-r--r--mail/bsfilter/Makefile12
-rw-r--r--mail/bsfilter/files/bsfilter.conf.sample1
2 files changed, 2 insertions, 11 deletions
diff --git a/mail/bsfilter/Makefile b/mail/bsfilter/Makefile
index 517d35859da3..23e9bf376afd 100644
--- a/mail/bsfilter/Makefile
+++ b/mail/bsfilter/Makefile
@@ -3,7 +3,7 @@
PORTNAME= bsfilter
PORTVERSION= 1.0.19
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail ruby
MASTER_SITES= SFJP/bsfilter/59804
@@ -19,15 +19,7 @@ USE_RUBY= yes
USES= shebangfix tar:tgz
SHEBANG_FILES= bsfilter/bsfilter
-OPTIONS_DEFINE= EXAMPLES MECAB
-
-MECAB_DESC= Part-of-Speech and Morphological Analyzer
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMECAB}
-RUN_DEPENDS+= ja-${RUBY_PKGNAMEPREFIX}mecab>=0:japanese/ruby-mecab
-.endif
+OPTIONS_DEFINE= EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bsfilter/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
diff --git a/mail/bsfilter/files/bsfilter.conf.sample b/mail/bsfilter/files/bsfilter.conf.sample
index ff739e3a666f..2155be960e21 100644
--- a/mail/bsfilter/files/bsfilter.conf.sample
+++ b/mail/bsfilter/files/bsfilter.conf.sample
@@ -1,6 +1,5 @@
## example of bsfilter.conf
#jtokenizer kakasi # 'make WITH_KAKASI=yes install'
-#jtokenizer MeCab # 'make WITH_MECAB=yes install'
spam-cutoff 0.6
db gdbm