# $Id: Portfile 109909 2013-08-22 00:35:34Z ryandesign@macports.org $ PortSystem 1.0 name ldns version 1.6.16 categories net devel platforms darwin license BSD maintainers durchmesser.ch:marius.rieder description DNS library in C long_description ldns is a library with the aim of simplifying DNS \ programming in C. It is heavily based upon the Net::DNS module from \ Perl. homepage http://www.nlnetlabs.nl/projects/ldns/ master_sites http://www.nlnetlabs.nl/downloads/ldns/ checksums rmd160 e4281eb00275ae5700a4d601ee64faf9aa72f37c \ sha256 24b2f9cb05797170f2021ef0e0372d4b5225ee4199f0568a15589b5c524df695 depends_build bin:glibtool:libtool depends_lib port:openssl configure.args --mandir=${prefix}/share/man --with-ssl=${prefix} configure.cppflags -I${worksrcpath}/include build.type gnu post-destroot { # Install pkg-config files not installed by the Makefile reinplace "s/-arch \[^ \]*//g" ${worksrcpath}/packaging/libldns.pc file mkdir ${destroot}${prefix}/lib/pkgconfig/ file copy ${worksrcpath}/packaging/libldns.pc \ ${destroot}${prefix}/lib/pkgconfig/libldns.pc } livecheck.type regex livecheck.regex "The latest release is (\\d+(?:\\.\\d+)*)"