# -*- 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 100474 2012-12-13 15:58:38Z pixilla@macports.org $ PortSystem 1.0 name opendkim version 2.7.3 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 83270cc71246b21806e6c3ca83f3e2dcdae6c845 \ sha256 c1fdaddc38dc47dc655ad78feae60934aab7ebf3adc7b518735d6948d1a25778 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}"