# -*- 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 84572 2011-09-28 13:00:35Z pixilla@macports.org $ PortSystem 1.0 name opendkim version 2.4.0 categories mail maintainers pixilla 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 checksums sha1 0e5a0d2717f1dff38ede38452d8ab59e01680e62 \ rmd160 736836ea38cff622a76fc2cb6b881e45d9c4b907 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} 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}"