# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id: Portfile 99777 2012-11-17 12:34:37Z pixilla@macports.org $ PortSystem 1.0 name opendkim version 2.7.2 categories mail license {BSD restrictive/distributable} maintainers pixilla openmaintainer platforms darwin description OpenDKIM is an implementation of the DKIM (Domain Keys Identified Mail) long_description ${description} homepage http://www.opendkim.org/ master_sites sourceforge depends_lib path:lib/libssl.dylib:openssl \ path:lib/libmilter.dylib:libmilter \ port:unbound checksums rmd160 0564cd60e62e0fa6254c17eb5f668cb3a8092667 \ sha256 cf72a26506ef48a2c6b231947226ab460cdb6e05b18176ee42a94b3b6d521b42 post-patch { reinplace "s|/var/|${prefix}/var/|g" \ ${worksrcpath}/opendkim/opendkim.conf.sample \ ${worksrcpath}/opendkim/opendkim.conf.simple.in \ ${worksrcpath}/opendkim/opendkim.conf.simple-verify.in } configure.args --with-openssl=${prefix} \ --with-unbound=${prefix} destroot.keepdirs ${destroot}${prefix}/var/db/${name} \ ${destroot}${prefix}/var/run/${name} livecheck.url http://sourceforge.net/projects/opendkim/files/ livecheck.type regex livecheck.regex "${name}-(\\d+\\.\\d+(\[0-9rc.\]+)?)${extract.suffix}"