diff options
author | sem <sem@FreeBSD.org> | 2004-12-20 06:07:20 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-12-20 06:07:20 +0800 |
commit | 0c52e3b127227b303f1a1ca34e923565cb4bb8d9 (patch) | |
tree | ee8c517146cf125c34c1fd7d7641f2e0d242e8bf /mail | |
parent | b0608c3605ddf8ef366310eb623802a3628ae18d (diff) | |
download | freebsd-ports-gnome-0c52e3b127227b303f1a1ca34e923565cb4bb8d9.tar.gz freebsd-ports-gnome-0c52e3b127227b303f1a1ca34e923565cb4bb8d9.tar.zst freebsd-ports-gnome-0c52e3b127227b303f1a1ca34e923565cb4bb8d9.zip |
- Update to 1.0.6
PR: ports/75245
Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r-- | mail/bsfilter/Makefile | 17 | ||||
-rw-r--r-- | mail/bsfilter/distinfo | 4 | ||||
-rw-r--r-- | mail/bsfilter/pkg-message | 4 |
3 files changed, 16 insertions, 9 deletions
diff --git a/mail/bsfilter/Makefile b/mail/bsfilter/Makefile index a17a6a6b9fae..b8016ad510f1 100644 --- a/mail/bsfilter/Makefile +++ b/mail/bsfilter/Makefile @@ -6,10 +6,10 @@ # PORTNAME= bsfilter -PORTVERSION= 1.0.4 +PORTVERSION= 1.0.6 CATEGORIES= mail ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} -MASTER_SITE_SUBDIR= bsfilter/10876 +MASTER_SITE_SUBDIR= bsfilter/12638 EXTRACT_SUFX= .tgz MAINTAINER= info@otsune.com @@ -20,12 +20,16 @@ RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/gdbm.so:${PORTSDIR}/databases/ruby-gdbm NO_BUILD= yes USE_RUBY= yes -OPTIONS= MECAB "Use japanese/mecab" off \ - KAKASI "Use japanese/kakasi" off +OPTIONS= CHASEN "Japanese Morphological Analysis Support" Off \ + MECAB "Part-of-Speech and Morphological Analyzer(i386 only)" Off \ + KAKASI "Language processing filter/converter" Off .include <bsd.port.pre.mk> -.if defined(WITH_MECAB) +.if defined(WITH_CHASEN) +RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/chasen.so:${PORTSDIR}/japanese/ruby-chasen +.endif +.if ${ARCH} == i386 && defined(WITH_MECAB) RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/MeCab.so:${PORTSDIR}/japanese/ruby-mecab .endif .if defined(WITH_KAKASI) @@ -44,4 +48,7 @@ do-install: .endfor .endif +post-install: + @${CAT} ${PKGMESSAGE} + .include <bsd.port.post.mk> diff --git a/mail/bsfilter/distinfo b/mail/bsfilter/distinfo index 1d261dc4e166..9af7f437ae2c 100644 --- a/mail/bsfilter/distinfo +++ b/mail/bsfilter/distinfo @@ -1,2 +1,2 @@ -MD5 (bsfilter-1.0.4.tgz) = 6fb0bb985bd6c4cbac1d5589de03d985 -SIZE (bsfilter-1.0.4.tgz) = 862941 +MD5 (bsfilter-1.0.6.tgz) = da1cfbe99b13e372644fc433306ec55f +SIZE (bsfilter-1.0.6.tgz) = 863767 diff --git a/mail/bsfilter/pkg-message b/mail/bsfilter/pkg-message index fe92163d5c8c..6cf88ec33883 100644 --- a/mail/bsfilter/pkg-message +++ b/mail/bsfilter/pkg-message @@ -1,12 +1,12 @@ Before actually using it, it is necessary to prepare a word database. 1.The word contained in clean mail is counted. -% bsfilter --add-clean ~/Maildir/.cur/* +% bsfilter --add-clean ~/Maildir/cur/* or % cd ~/Maildir/cur/ ; ls | xargs bsfilter -c 2.The word in spam is counted. -% bsfilter --add-spam ~/Maildir/.spam/* +% bsfilter --add-spam ~/Maildir/.spam/cur/* or % cd ~/Maildir/.spam/cur/ ; ls | xargs bsfilter -s |