source: trunk/dports/mail/bmf/Portfile @ 86632

Last change on this file since 86632 was 86632, checked in by ryandesign@…, 9 years ago

Rewrite master_sites to avoid redirects

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