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

Last change on this file since 23053 was 23053, checked in by pipping@…, 12 years ago

clean up portfiles:

  • replace "portversion" with "version"
  • replace "portname" with "name"
  • replace "configure {}" with "use_configure no"
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $
2
3PortSystem 1.0
4name              spambnc
5version           1.9
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
21
22master_sites      ${homepage} ftp://ftp.spambouncer.org/
23distname          sb
24checksums         md5 e6b2c0be71ac2fc3a0dfa76909f85491
25dist_subdir       ${name}/${version}
26
27depends_run       bin:procmail:procmail
28
29worksrcdir        ${name}
30
31patchfiles        patch-procmail.rc
32
33pre-extract       {
34                  file mkdir ${worksrcpath}
35}
36extract.dir       ${worksrcpath}
37
38use_configure     no
39build             {}
40
41destroot          {
42                  system "cp -pr ${workpath}/${name} \
43                    ${destroot}${prefix}/share/${name} "
44                  reinplace "s=%%SBDIR%%=${prefix}/share/${name}=" \
45                    ${destroot}${prefix}/share/${name}/procmail.rc
46                  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
47                  xinstall -m 644 -c ${filespath}/index.shtml \
48                    ${destroot}${prefix}/share/doc/${name}/documentation.html
49}
Note: See TracBrowser for help on using the repository browser.