mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00: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
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user