diff options
author | Torsten Veller <tove@gentoo.org> | 2009-05-02 14:48:26 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2009-05-02 14:48:26 +0000 |
commit | 10a9027a4961ad18851eb998833c2d68a8656cf5 (patch) | |
tree | 98d45c32e9df121668be5e0c5e63b95eee00727c | |
parent | Fix javadoc installation. (diff) | |
download | gentoo-2-10a9027a4961ad18851eb998833c2d68a8656cf5.tar.gz gentoo-2-10a9027a4961ad18851eb998833c2d68a8656cf5.tar.bz2 gentoo-2-10a9027a4961ad18851eb998833c2d68a8656cf5.zip |
Cleanup
(Portage version: 2.2_rc32/cvs/Linux i686)
-rw-r--r-- | mail-filter/bogofilter/ChangeLog | 5 | ||||
-rw-r--r-- | mail-filter/bogofilter/bogofilter-1.1.7.ebuild | 77 |
2 files changed, 4 insertions, 78 deletions
diff --git a/mail-filter/bogofilter/ChangeLog b/mail-filter/bogofilter/ChangeLog index ceb3faadeb38..87cf34be8be4 100644 --- a/mail-filter/bogofilter/ChangeLog +++ b/mail-filter/bogofilter/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for mail-filter/bogofilter # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.118 2009/05/02 14:07:04 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.119 2009/05/02 14:48:26 tove Exp $ + + 02 May 2009; Torsten Veller <tove@gentoo.org> -bogofilter-1.1.7.ebuild: + Cleanup 02 May 2009; Jeroen Roovers <jer@gentoo.org> bogofilter-1.2.0.ebuild: Stable for HPPA (bug #264832). diff --git a/mail-filter/bogofilter/bogofilter-1.1.7.ebuild b/mail-filter/bogofilter/bogofilter-1.1.7.ebuild deleted file mode 100644 index d2ad535402ca..000000000000 --- a/mail-filter/bogofilter/bogofilter-1.1.7.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-1.1.7.ebuild,v 1.10 2008/11/10 11:32:29 armin76 Exp $ - -inherit db-use flag-o-matic - -DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for speed." -HOMEPAGE="http://bogofilter.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd" -IUSE="gsl berkdb sqlite" - -DEPEND="virtual/libiconv - berkdb? ( >=sys-libs/db-3.2 ) - !berkdb? ( - sqlite? ( >=dev-db/sqlite-3.5.4 ) - !sqlite? ( >=sys-libs/db-3.2 ) ) - gsl? ( sci-libs/gsl )" -# app-arch/pax" # only needed for bf_tar - -src_compile() { - local myconf="" berkdb=true - myconf="$(use_with !gsl included-gsl)" - - # determine backend: berkdb *is* default - if use berkdb && use sqlite ; then - elog "Both useflags berkdb and sqlite are in USE:" - elog "Using berkdb as database backend." - elif use sqlite ; then - myconf="${myconf} --with-database=sqlite" - berkdb=false - elif ! use berkdb ; then - elog "Neither berkdb nor sqlite are in USE:" - elog "Using berkdb as database backend." - fi - - # Include the right berkdb headers for FreeBSD - if ${berkdb} ; then - append-flags "-I$(db_includedir)" - fi - - econf ${myconf} || die "configure failed" - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - - exeinto /usr/share/${PN}/contrib - doexe contrib/{bogofilter-qfe,parmtest,randomtrain}.sh \ - contrib/{bfproxy,bogominitrain,mime.get.rfc822,printmaildir}.pl \ - contrib/{spamitarium,stripsearch}.pl || die "doexec failed" - - insinto /usr/share/${PN}/contrib - doins contrib/{README.*,dot-qmail-bogofilter-default} \ - contrib/{bogogrep.c,bogo.R,bogofilter-milter.pl,*.example} \ - contrib/vm-bogofilter.el \ - contrib/{trainbogo,scramble}.sh || die "doins failed" - - dodoc AUTHORS NEWS README RELEASE.NOTES* TODO GETTING.STARTED \ - doc/integrating-with-* doc/README.{db,sqlite} || die "dodoc failed" - - dohtml doc/*.html - - dodir /usr/share/doc/${PF}/samples - mv "${D}"/etc/bogofilter.cf.example "${D}"/usr/share/doc/${PF}/samples/ - rmdir "${D}"/etc -} - -pkg_postinst() { - echo - elog "If you need \"${ROOT}usr/bin/bf_tar\" please install app-arch/pax." - echo -} |