Ticket #20409: Portfile

File Portfile, 1.1 KB (added by chenggao@…, 15 years ago)
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name            bogofilter
5version         1.2.0
6categories      mail
7maintainers     gmail.com:chenggao
8description     Fast Bayesian Spam Filter
9long_description        Bogofilter is a mail filter that classifies mail as spam or\
10                        ham (non-spam) by a statistical analysis of the message's\
11                        header and content (body). The program is able to learn from\
12                        the user's classifications and corrections.
13homepage        http://bogofilter.sourceforge.net/
14platforms       darwin
15master_sites    sourceforge
16checksums       md5 ed1a0a4609fa0c7dc1cddba1b9d37067
17use_bzip2       yes
18depends_lib     port:sqlite3 port:libiconv port:gsl
19configure.args  --with-libsqlite3-prefix=${prefix} \
20                --with-libiconv-prefix=${prefix} \
21                --with-gsl-prefix=${prefix} \
22                --with-database=sqlite3 \
23                --without-libdb-prefix \
24                --without-libqdbm-prefix \
25                --mandir=${prefix}/share/man
26
27post-destroot   {
28        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
29        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING GETTING.STARTED INSTALL \
30                NEWS README RELEASE.NOTES TODO ${destroot}${prefix}/share/doc/${name}
31}