mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 23:00:30 -04:00
- Update to 1.0.6
PR: ports/75245 Submitted by: maintainer
This commit is contained in:
parent
3cb0b326b0
commit
22aeec3703
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124529
3 changed files with 16 additions and 9 deletions
|
@ -6,10 +6,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= bsfilter
|
PORTNAME= bsfilter
|
||||||
PORTVERSION= 1.0.4
|
PORTVERSION= 1.0.6
|
||||||
CATEGORIES= mail ruby
|
CATEGORIES= mail ruby
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
||||||
MASTER_SITE_SUBDIR= bsfilter/10876
|
MASTER_SITE_SUBDIR= bsfilter/12638
|
||||||
EXTRACT_SUFX= .tgz
|
EXTRACT_SUFX= .tgz
|
||||||
|
|
||||||
MAINTAINER= info@otsune.com
|
MAINTAINER= info@otsune.com
|
||||||
|
@ -20,12 +20,16 @@ RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/gdbm.so:${PORTSDIR}/databases/ruby-gdbm
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
USE_RUBY= yes
|
USE_RUBY= yes
|
||||||
|
|
||||||
OPTIONS= MECAB "Use japanese/mecab" off \
|
OPTIONS= CHASEN "Japanese Morphological Analysis Support" Off \
|
||||||
KAKASI "Use japanese/kakasi" off
|
MECAB "Part-of-Speech and Morphological Analyzer(i386 only)" Off \
|
||||||
|
KAKASI "Language processing filter/converter" Off
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.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
|
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/MeCab.so:${PORTSDIR}/japanese/ruby-mecab
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_KAKASI)
|
.if defined(WITH_KAKASI)
|
||||||
|
@ -44,4 +48,7 @@ do-install:
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (bsfilter-1.0.4.tgz) = 6fb0bb985bd6c4cbac1d5589de03d985
|
MD5 (bsfilter-1.0.6.tgz) = da1cfbe99b13e372644fc433306ec55f
|
||||||
SIZE (bsfilter-1.0.4.tgz) = 862941
|
SIZE (bsfilter-1.0.6.tgz) = 863767
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
Before actually using it, it is necessary to prepare a word database.
|
Before actually using it, it is necessary to prepare a word database.
|
||||||
|
|
||||||
1.The word contained in clean mail is counted.
|
1.The word contained in clean mail is counted.
|
||||||
% bsfilter --add-clean ~/Maildir/.cur/*
|
% bsfilter --add-clean ~/Maildir/cur/*
|
||||||
or
|
or
|
||||||
% cd ~/Maildir/cur/ ; ls | xargs bsfilter -c
|
% cd ~/Maildir/cur/ ; ls | xargs bsfilter -c
|
||||||
|
|
||||||
2.The word in spam is counted.
|
2.The word in spam is counted.
|
||||||
% bsfilter --add-spam ~/Maildir/.spam/*
|
% bsfilter --add-spam ~/Maildir/.spam/cur/*
|
||||||
or
|
or
|
||||||
% cd ~/Maildir/.spam/cur/ ; ls | xargs bsfilter -s
|
% cd ~/Maildir/.spam/cur/ ; ls | xargs bsfilter -s
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue