update to 0.95.2, switch to gsl,sqlite3, explicitely depend on libiconv

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@14319 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Markus W. Weißmann
2005-09-29 06:47:20 +00:00
parent ea2c701f54
commit 4bf47cd2fc
+20 -16
View File
@@ -1,8 +1,8 @@
# $Id: Portfile,v 1.5 2005/04/06 08:22:45 mww Exp $
# $Id: Portfile,v 1.6 2005/09/29 06:47:20 mww Exp $
PortSystem 1.0
name bogofilter
version 0.14.5.4
version 0.95.2
categories mail
maintainers darwinports@opendarwin.org
description Fast Bayesian Spam Filter
@@ -12,20 +12,24 @@ long_description Bogofilter is a mail filter that classifies mail as spam or\
header and content (body). The program is able to learn from\
the user's classifications and corrections.
master_sites sourceforge
checksums md5 33064f40fe7b250f9ca45fddaa33af64
depends_lib lib:libdb-4:db4
configure.env CPPFLAGS=-I${prefix}/include/db4 LDFLAGS=-L${prefix}/lib
checksums md5 43da78d185f6a206923e6fb8e50c6fe7
use_bzip2 yes
depends_lib port:sqlite3 port:libiconv port:gsl
configure.args --with-libsqlite3-prefix=${prefix} \
--with-libiconv-prefix=${prefix} \
--with-gsl-prefix=${prefix} \
--with-database=sqlite \
--without-libdb-prefix \
--without-libqdbm-prefix \
--without-libtdb-prefix \
--mandir=${prefix}/share/man
platform darwin 8 {
configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}
post-destroot {
set docdest ${destroot}${prefix}/share/doc/${name}/
system "install -d ${docdest}"
system "install -m 644 ${worksrcpath}/README ${docdest}"
system "install -m 644 ${worksrcpath}/NEWS ${docdest}"
system "install -m 644 ${worksrcpath}/RELEASE.NOTES-0.14 ${docdest}"
system "install -m 644 ${worksrcpath}/CHANGES-0.14 ${docdest}"
}
post-install {
ui_msg "\nPlease read ${prefix}/share/doc/bogofilter/RELEASE.NOTES-0.14"
ui_msg "if you are upgrading from < 0.14\n"
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING GETTING.STARTED INSTALL \
NEWS README RELEASE.NOTES TODO ${destroot}${prefix}/share/doc/${name}
}