Index: head/mail/bsfilter/Makefile =================================================================== --- head/mail/bsfilter/Makefile (revision 432617) +++ head/mail/bsfilter/Makefile (revision 432618) @@ -1,42 +1,34 @@ # Created by: Masafumi Otsune # $FreeBSD$ PORTNAME= bsfilter PORTVERSION= 1.0.19 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail ruby MASTER_SITES= SFJP/bsfilter/59804 MAINTAINER= yasu@utahime.org COMMENT= Bayesian spam filter written in Ruby LICENSE= GPLv2 RUN_DEPENDS= ${RUBY_PKGNAMEPREFIX}gdbm>=0:databases/ruby-gdbm NO_BUILD= yes USE_RUBY= yes USES= shebangfix tar:tgz SHEBANG_FILES= bsfilter/bsfilter -OPTIONS_DEFINE= EXAMPLES MECAB - -MECAB_DESC= Part-of-Speech and Morphological Analyzer - -.include - -.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} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for FILE in bsfilter.conf.sample dot-qmail.sample ${INSTALL_DATA} ${FILESDIR}/${FILE} ${STAGEDIR}${EXAMPLESDIR} .endfor .for DIR in mda mua cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${STAGEDIR}${EXAMPLESDIR} .endfor .include Index: head/mail/bsfilter/files/bsfilter.conf.sample =================================================================== --- head/mail/bsfilter/files/bsfilter.conf.sample (revision 432617) +++ head/mail/bsfilter/files/bsfilter.conf.sample (revision 432618) @@ -1,20 +1,19 @@ ## example of bsfilter.conf #jtokenizer kakasi # 'make WITH_KAKASI=yes install' -#jtokenizer MeCab # 'make WITH_MECAB=yes install' spam-cutoff 0.6 db gdbm ## IMAP ## (bsfilter --imap --imap-fetch-unflagged --insert-flag --insert-probability --imap-folder-spam inbox.spam inbox) #imap-server server.example.com #imap-auth login #imap-user alibaba #imap-password open_sesame ## POP Proxy ## (bsfilter --pop --auto-update) #pop-server server.example.com #pop-proxy-port 10110 #pop-user alibaba #insert-flag #insert-probability