Date: Tue, 15 Jan 2013 00:26:07 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310418 - head/mail/bsfilter Message-ID: <201301150026.r0F0Q7Ki090773@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Tue Jan 15 00:26:06 2013 New Revision: 310418 URL: http://svnweb.freebsd.org/changeset/ports/310418 Log: - adopt optionsNG, trim historical header and add license - while here depend on pkgnames for dependencies, fix WWW address and shorten mastersite PR: 175206 Submitted by: yasu@utahime.org Approved by: maintainer, info@otsune.com Modified: head/mail/bsfilter/Makefile head/mail/bsfilter/pkg-descr Modified: head/mail/bsfilter/Makefile ============================================================================== --- head/mail/bsfilter/Makefile Mon Jan 14 23:56:44 2013 (r310417) +++ head/mail/bsfilter/Makefile Tue Jan 15 00:26:06 2013 (r310418) @@ -1,40 +1,40 @@ -# New ports collection makefile for: bsfilter -# Date created: 1 Mar 2004 -# Whom: Masafumi Otsune <info@otsune.com> -# +# Created by: Masafumi Otsune <info@otsune.com> # $FreeBSD$ -# PORTNAME= bsfilter PORTVERSION= 1.0.17 CATEGORIES= mail ruby -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} +MASTER_SITES= SFJP MASTER_SITE_SUBDIR= bsfilter/49795 EXTRACT_SUFX= .tgz MAINTAINER= info@otsune.com COMMENT= Bayesian spam filter written in Ruby -RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/gdbm.so:${PORTSDIR}/databases/ruby-gdbm +LICENSE= GPLv2 + +RUN_DEPENDS= ${RUBY_PKGNAMEPREFIX}gdbm>=0:${PORTSDIR}/databases/ruby-gdbm NO_BUILD= yes USE_RUBY= yes -OPTIONS= CHASEN "Japanese Morphological Analysis Support" Off \ - MECAB "Part-of-Speech and Morphological Analyzer" Off +OPTIONS_DEFINE= CHASEN DOCS MECAB + +CHASEN_DESC= Japanese Morphological Analysis Support +MECAB_DESC= Part-of-Speech and Morphological Analyzer -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_CHASEN) -RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/chasen.so:${PORTSDIR}/japanese/ruby-chasen +.if ${PORT_OPTIONS:MCHASEN} +RUN_DEPENDS+= ja-${RUBY_PKGNAMEPREFIX}chasen>=0:${PORTSDIR}/japanese/ruby-chasen .endif -.if defined(WITH_MECAB) -RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/MeCab.so:${PORTSDIR}/japanese/ruby-mecab +.if ${PORT_OPTIONS:MMECAB} +RUN_DEPENDS+= ja-${RUBY_PKGNAMEPREFIX}mecab>=0:${PORTSDIR}/japanese/ruby-mecab .endif do-install: @${INSTALL_SCRIPT} ${WRKSRC}/bsfilter/${PORTNAME} ${PREFIX}/bin/${PORTNAME} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${EXAMPLESDIR} .for FILE in bsfilter.conf.sample dot-qmail.sample @${INSTALL_DATA} ${FILESDIR}/${FILE} ${EXAMPLESDIR} @@ -47,4 +47,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/mail/bsfilter/pkg-descr ============================================================================== --- head/mail/bsfilter/pkg-descr Mon Jan 14 23:56:44 2013 (r310417) +++ head/mail/bsfilter/pkg-descr Tue Jan 15 00:26:06 2013 (r310418) @@ -9,5 +9,4 @@ bsfilter is a spam filter using Bayesian -- POP proxy. run between POP server and MUA. POP over SSL supported - distributed under GPL -Author: nabeken -WWW: http://bsfilter.org/index-e.html +WWW: http://en.sourceforge.jp/projects/bsfilter/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301150026.r0F0Q7Ki090773>