source: trunk/dports/mail/milter-greylist/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name                    milter-greylist
6version                 4.0
7categories              mail
8maintainers             geeklair.net:dluke
9platforms               darwin
10description             milter-greylist standalone greylist milter
11long_description        milter-greylist is a stand-alone milter written in C \
12                        that implements the greylist filtering method
13
14homepage        http://hcpnet.free.fr/milter-greylist/
15master_sites    ftp://ftp.espci.fr/pub/milter-greylist/
16
17extract.suffix  .tgz
18
19checksums       md5 2834933b27298d30630eea621cbfdcf5 \
20                sha1 e94c8c8a7ed5cf27550eb69f660c7d75c60f6ac1 \
21                rmd160 e84329491ea06044549aafbf65bf8adf4c01956b
22
23depends_lib     port:libmilter
24
25configure.args  --mandir=${prefix}/share \
26                --with-user=milter-greylist \
27                --with-libmilter=${prefix}
28
29post-configure  {
30                        reinplace "s|/etc/mail|${prefix}/etc/mail|g" \
31                                ${worksrcpath}/Makefile ${worksrcpath}/conf.h
32                        reinplace "s|/var/milter-greylist|${prefix}/var/milter-greylist|g" \
33                                ${worksrcpath}/greylist.conf
34                }
35
36pre-configure   {
37                        adduser milter-greylist
38                        addgroup milter-greylist users=milter-greylist
39                }
40
41post-destroot   {
42                        file rename ${destroot}${prefix}/etc/mail/greylist.conf \
43                                ${destroot}${prefix}/etc/mail/greylist.conf.sample
44                        xinstall -o milter-greylist -g milter-greylist \
45                                -d ${destroot}${prefix}/var/milter-greylist
46                }
47
48destroot.keepdirs ${destroot}${prefix}/var/milter-greylist
49
50startupitem.create      yes
51startupitem.name        milter-greylist
52startupitem.executable  ${prefix}/bin/milter-greylist -D -u milter-greylist:milter-greylist
53
54variant postfix description {build with postfix support} {
55                        depends_lib-append port:postfix
56                        configure.args-append --enable-postfix
57                }
Note: See TracBrowser for help on using the repository browser.