source: trunk/dports/mail/spambnc/Portfile

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

spambnc: add license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 95117 2012-07-05 20:58:59Z ryandesign@macports.org $
2
3PortSystem 1.0
4name              spambnc
5version           1.9
6categories        mail
7license           GPL-2
8description       Set of procmail recipies which handle known/suspected spam
9maintainers       andrea+darwinports@webcom.it
10long_description  The Spam Bouncer is a set of procmail recipes, or instructions, which \
11                  search the headers and text of your incoming email to see if it meets \
12                  one or more of several categories (known addresses, rogue ISPs, bulk \
13                  mail software etc etc).\
14                  \
15                  The Spam Bouncer sorts suspected spam into two categories -- mail from \
16                  known spam sources which is definitely spam, and other mail which is \
17                  probably spam, but might also be legitimate. It then tags this email \
18                  with appropriate headers giving the spam classification, and responds \
19                  according to the parameters you have set.
20homepage          http://www.spambouncer.org/
21platforms         darwin
22
23master_sites      ${homepage}dist/sb19/ \
24                  fink:md5/e6b2c0be71ac2fc3a0dfa76909f85491
25distname          sb
26checksums         md5 e6b2c0be71ac2fc3a0dfa76909f85491
27dist_subdir       ${name}/${version}
28
29depends_run       bin:procmail:procmail
30
31worksrcdir        ${name}
32
33patchfiles        patch-procmail.rc
34
35pre-extract       {
36                  file mkdir ${worksrcpath}
37}
38extract.dir       ${worksrcpath}
39
40use_configure     no
41build             {}
42
43destroot          {
44                  system "cp -pr ${workpath}/${name} \
45                    ${destroot}${prefix}/share/${name} "
46                  reinplace "s=%%SBDIR%%=${prefix}/share/${name}=" \
47                    ${destroot}${prefix}/share/${name}/procmail.rc
48                  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
49                  xinstall -m 644 -c ${filespath}/index.shtml \
50                    ${destroot}${prefix}/share/doc/${name}/documentation.html
51}
Note: See TracBrowser for help on using the repository browser.