source: trunk/dports/mail/bmf/Portfile

Last change on this file was 95082, checked in by mww@…, 5 years ago

bmf: add license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 95082 2012-07-05 07:12:14Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    bmf
6version                 0.9.4
7categories              mail
8platforms               darwin freebsd
9license                 GPL-2
10maintainers             nomaintainer
11
12description             Bayesian Mail Filter
13
14long_description        bmf is a self contained and extremely efficient Bayesian mail filter. \
15                        See Paul Graham's article "A Plan for Spam" for background information. \
16                        It aims to be faster, smaller, and more versatile than similar \
17                        applications.
18
19homepage                http://bmf.sourceforge.net/
20master_sites            sourceforge:project/bmf/bmf/${version}
21
22checksums               md5 9cf55df2fa3a05bdc55ba7b0a129591e
23
24configure.pre_args
25
26post-configure {
27    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile
28}
29
30post-destroot {
31    system "install -o root -m 755 -d ${destroot}${prefix}/share/${name}"
32    system "install -o root -m 755 -c ${worksrcpath}/README ${destroot}${prefix}/share/${name}/"
33}
Note: See TracBrowser for help on using the repository browser.