Adopt OptionsNG and trim makefile header.
Maintainer of mail/bsfilter, Please note that PR ports/175206 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/175206 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
License information is added. So please commit attached patch instead of original one. Regards.
Responsible Changed From-To: freebsd-ports-bugs->jgh I'll take it.
I approve this patch -- Masafumi Otsune http://www.otsune.com/
"Created by:" header is added to Makefile. Please commit attached patch instead of previous ones. Regards.
State Changed From-To: feedback->open maintainer approved
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/ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!