source: trunk/dports/mail/spambnc/Portfile @ 5573

Last change on this file since 5573 was 5573, checked in by blb, 17 years ago

Submitted by: fkr@
Port: spambnc
Version: 20040217

Oops, needed a dependency on procmail, being procmail recipes and all...

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1# $Id: Portfile,v 1.2 2004/02/24 07:14:43 blb Exp $
2
3PortSystem        1.0
4name              spambnc
5version           20040217
6categories        mail
7description       Set of procmail recipies which handle known/suspected spam
8maintainers       andrea+darwinports@webcom.it
9long_description  The Spam Bouncer is a set of procmail recipes, or instructions, which \
10                  search the headers and text of your incoming email to see if it meets \
11                  one or more of several categories (known addresses, rogue ISPs, bulk \
12                  mail software etc etc). \
13                   \
14                  The Spam Bouncer sorts suspected spam into two categories -- mail from \
15                  known spam sources which is definitely spam, and other mail which is \
16                  probably spam, but might also be legitimate. It then tags this email \
17                  with appropriate headers giving the spam classification, and responds \
18                  according to the parameters you have set.
19homepage          http://www.spambouncer.org/
20platforms         darwin
21master_sites      ${homepage} ftp://ftp.spambouncer.org/
22distfiles         sb.tar.gz index.shtml
23checksums         sb.tar.gz md5 203c1a4183510ee86a48f877a25e12f6 \
24                  index.shtml md5 d1c9d200dfa0bc3c0bbe4afed7b6bf67
25depends_run       bin:procmail:procmail
26patchfiles        patch-procmail.rc
27
28worksrcdir        ${portname}
29extract.only      sb.tar.gz
30extract           {
31                  system "mkdir ${workpath}/${portname}"
32                  system "cd ${workpath}/${portname} && \
33                    gzip -dc ${distpath}/sb.tar.gz | tar -xf -"
34                  system "cp ${distpath}/index.shtml ${workpath}/documentation.html"
35}
36configure         {}
37build             {}
38destroot          {
39                  system "cp -pr ${workpath}/${portname} \
40                    ${destroot}${prefix}/share/${portname} "
41                  reinplace "s=%%SBDIR%%=${prefix}/share/${portname}=" \
42                    ${destroot}${prefix}/share/${portname}/procmail.rc
43                  xinstall -m 755 -d ${destroot}${prefix}/doc/${portname}
44                  xinstall -m 644 -c ${workpath}/documentation.html \
45                    ${destroot}${prefix}/doc/${portname}
46}
Note: See TracBrowser for help on using the repository browser.