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

Last change on this file since 5614 was 5614, checked in by blb, 16 years ago

Submitted by: andrea+darwinports a webcom.it
Port: spambnc
Version: 20040225

Update port mail/spambnc
Version bump, move doc directory to share/doc

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1# $Id: Portfile,v 1.3 2004/02/26 08:06:07 blb Exp $
2
3PortSystem        1.0
4name              spambnc
5version           20040225
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 d569bd3297af88df3fe2bb18d5d1c716
24depends_run       bin:procmail:procmail
25patchfiles        patch-procmail.rc
26
27worksrcdir        ${portname}
28extract.only      sb.tar.gz
29extract           {
30                  system "mkdir ${workpath}/${portname}"
31                  system "cd ${workpath}/${portname} && \
32                    gzip -dc ${distpath}/sb.tar.gz | tar -xf -"
33                  system "cp ${distpath}/index.shtml ${workpath}/documentation.html"
34}
35configure         {}
36build             {}
37destroot          {
38                  system "cp -pr ${workpath}/${portname} \
39                    ${destroot}${prefix}/share/${portname} "
40                  reinplace "s=%%SBDIR%%=${prefix}/share/${portname}=" \
41                    ${destroot}${prefix}/share/${portname}/procmail.rc
42                  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${portname}
43                  xinstall -m 644 -c ${workpath}/documentation.html \
44                    ${destroot}${prefix}/share/doc/${portname}
45}
Note: See TracBrowser for help on using the repository browser.