[69208] trunk/dports/net/ldns/Portfile

dports at macports.org dports at macports.org
Mon Jun 28 14:43:55 PDT 2010


Revision: 69208
          http://trac.macports.org/changeset/69208
Author:   dports at macports.org
Date:     2010-06-28 14:43:54 -0700 (Mon, 28 Jun 2010)
Log Message:
-----------
ldns: maintainer update to 1.6.5 (#25452)
 * enable SSL by default
 * install pkgconfig files

Modified Paths:
--------------
    trunk/dports/net/ldns/Portfile

Modified: trunk/dports/net/ldns/Portfile
===================================================================
--- trunk/dports/net/ldns/Portfile	2010-06-28 20:56:10 UTC (rev 69207)
+++ trunk/dports/net/ldns/Portfile	2010-06-28 21:43:54 UTC (rev 69208)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name                ldns
-version             1.6.3
+version             1.6.5
 categories          net devel
 platforms           darwin
 license             BSD
@@ -15,19 +15,22 @@
 
 homepage            http://www.nlnetlabs.nl/projects/ldns/
 master_sites        http://www.nlnetlabs.nl/downloads/ldns/
-checksums           sha1 87ce9cc8e4bf82f6d8668c915a08dfba20dd1b7c \
-                    rmd160 83c314455f286d698d2d8017dc9b1c841fad0823
+checksums           sha1 267eea7a8a7af5a373aed6c26084ed9e43bddc4d \
+                    rmd160 6fd413919511a9be986ff9adf213e1dfb45ce288
 
 depends_build       bin:glibtool:libtool
+depends_lib         port:openssl
 
-configure.args      --mandir=${prefix}/share/man --without-ssl
+configure.args      --mandir=${prefix}/share/man --with-ssl=${prefix}
 configure.cppflags  -I${worksrcpath}/include
 build.type          gnu
 
-variant ssl description {Use ssl to enable all crypt functions} {
-    configure.args-delete --without-ssl
-    configure.args-append --with-ssl=${prefix}
-    depends_lib-append	port:openssl
+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
 }
 
 platform darwin 9 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100628/199aacc5/attachment.html>


More information about the macports-changes mailing list