[39491] trunk/dports/mail
dluke at macports.org
dluke at macports.org
Thu Aug 21 17:36:52 PDT 2008
Revision: 39491
http://trac.macosforge.org/projects/macports/changeset/39491
Author: dluke at macports.org
Date: 2008-08-21 17:36:52 -0700 (Thu, 21 Aug 2008)
Log Message:
-----------
new port, milter-greylist
Added Paths:
-----------
trunk/dports/mail/milter-greylist/
trunk/dports/mail/milter-greylist/Portfile
Added: trunk/dports/mail/milter-greylist/Portfile
===================================================================
--- trunk/dports/mail/milter-greylist/Portfile (rev 0)
+++ trunk/dports/mail/milter-greylist/Portfile 2008-08-22 00:36:52 UTC (rev 39491)
@@ -0,0 +1,55 @@
+# $Id$
+
+PortSystem 1.0
+
+name milter-greylist
+version 4.0
+categories mail
+maintainers dluke at geeklair.net
+platforms darwin
+description milter-greylist standalone greylist milter
+long_description milter-greylist is a stand-alone milter written in C \
+ that implements the greylist filtering method
+
+homepage http://hcpnet.free.fr/milter-greylist/
+master_sites ftp://ftp.espci.fr/pub/milter-greylist/
+
+extract.suffix .tgz
+
+checksums md5 2834933b27298d30630eea621cbfdcf5 \
+ sha1 e94c8c8a7ed5cf27550eb69f660c7d75c60f6ac1 \
+ rmd160 e84329491ea06044549aafbf65bf8adf4c01956b
+
+depends_lib port:libmilter
+
+configure.args --mandir=${prefix}/share \
+ --with-user=milter-greylist \
+ --with-libmilter=${prefix}
+
+post-configure {
+ reinplace "s|/etc/mail|${prefix}/etc/mail|g" \
+ ${worksrcpath}/Makefile ${worksrcpath}/conf.h
+ reinplace "s|/var/milter-greylist|${prefix}/var/milter-greylist|g" \
+ ${worksrcpath}/greylist.conf
+ }
+
+pre-configure {
+ adduser milter-greylist
+ addgroup milter-greylist users=milter-greylist
+ }
+
+post-destroot {
+ xinstall -o milter-greylist -g milter-greylist \
+ -d ${destroot}${prefix}/var/milter-greylist
+ }
+
+destroot.keepdirs ${destroot}${prefix}/var/milter-greylist
+
+startupitem.create yes
+startupitem.name milter-greylist
+startupitem.executable ${prefix}/bin/milter-greylist -D -u milter-greylist:milter-greylist
+
+variant postfix description {build with postfix support} {
+ depends_lib-append port:postfix
+ configure.args-append --enable-postfix
+ }
Property changes on: trunk/dports/mail/milter-greylist/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080821/26f35775/attachment.html
More information about the macports-changes
mailing list