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

Last change on this file was 150105, checked in by dluke@…, 3 years ago

milter-greylist: version bump, update to 4.6.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
RevLine 
[39491]1# $Id: Portfile 150105 2016-07-12 15:11:14Z dluke@macports.org $
2
3PortSystem 1.0
4
5name                    milter-greylist
[150105]6version                 4.6.1
[39491]7categories              mail
[50984]8maintainers             geeklair.net:dluke
[39491]9platforms               darwin
10description             milter-greylist standalone greylist milter
[80642]11license                 BSD
12
[39491]13long_description        milter-greylist is a stand-alone milter written in C \
14                        that implements the greylist filtering method
15
16homepage        http://hcpnet.free.fr/milter-greylist/
[148452]17master_sites    https://ftp.espci.fr/pub/milter-greylist/ \
[83063]18                ftp://ftp.espci.fr/pub/milter-greylist/
[39491]19
20extract.suffix  .tgz
21
[150105]22checksums       md5     f50f89fd5cb81b124f4e7933f197f7a6 \
23                sha1    1f6dabc7ffc37a063c08d5b2279bd2aae8a2b3c3 \
24                rmd160  81c2d6bd2326fbb58e89cfc2b619439bd194b2f9
[100999]25
[39491]26depends_lib     port:libmilter
27
[70561]28use_parallel_build      no
29
[39491]30configure.args  --mandir=${prefix}/share \
31                --with-user=milter-greylist \
32                --with-libmilter=${prefix}
33
[90336]34add_users milter-greylist group=milter-greylist
35
[100999]36#- otherwise the 10.8 sed complains - sed: RE error: illegal byte sequence
37build.env LANG=C
38
[39491]39post-configure  {
40                        reinplace "s|/etc/mail|${prefix}/etc/mail|g" \
41                                ${worksrcpath}/Makefile ${worksrcpath}/conf.h
42                        reinplace "s|/var/milter-greylist|${prefix}/var/milter-greylist|g" \
43                                ${worksrcpath}/greylist.conf
44                }
45
46post-destroot   {
[39492]47                        file rename ${destroot}${prefix}/etc/mail/greylist.conf \
48                                ${destroot}${prefix}/etc/mail/greylist.conf.sample
[39491]49                        xinstall -o milter-greylist -g milter-greylist \
50                                -d ${destroot}${prefix}/var/milter-greylist
51                }
52
53destroot.keepdirs ${destroot}${prefix}/var/milter-greylist
54
55startupitem.create      yes
56startupitem.name        milter-greylist
57startupitem.executable  ${prefix}/bin/milter-greylist -D -u milter-greylist:milter-greylist
58
59variant postfix description {build with postfix support} {
60                        depends_lib-append port:postfix
61                        configure.args-append --enable-postfix
62                }
Note: See TracBrowser for help on using the repository browser.