[153861] trunk/dports/net/ldns/Portfile
mf2k at macports.org
mf2k at macports.org
Fri Oct 14 15:54:47 CEST 2016
Revision: 153861
https://trac.macports.org/changeset/153861
Author: mf2k at macports.org
Date: 2016-10-14 06:54:47 -0700 (Fri, 14 Oct 2016)
Log Message:
-----------
ldns: Remove unnecessary code block. Improve syntax. Based on suggestions by ryandesign.
Modified Paths:
--------------
trunk/dports/net/ldns/Portfile
Modified: trunk/dports/net/ldns/Portfile
===================================================================
--- trunk/dports/net/ldns/Portfile 2016-10-14 13:27:58 UTC (rev 153860)
+++ trunk/dports/net/ldns/Portfile 2016-10-14 13:54:47 UTC (rev 153861)
@@ -13,23 +13,25 @@
license BSD
maintainers nomaintainer
-if {${subport} eq "ldns"} {
+switch ${subport} {
+"ldns" {
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.
}
-if {${subport} eq "ldns-tools"} {
+"ldns-tools" {
description Tools for working with dns and dnssec.
long_description Tools as examples to the ldns library. \
Useful for debugging/querying dns/dnssec servers.
}
-if {${subport} eq "drill"} {
+"drill" {
description A dig-style dnssec-aware dns debugging tool
long_description Drill is a tool ala dig from BIND. \
It was designed with DNSSEC in mind and should be a useful \
debugging/query tool for DNSSEC.
}
+}
homepage http://www.nlnetlabs.nl/projects/ldns/
master_sites http://www.nlnetlabs.nl/downloads/ldns/
@@ -37,11 +39,6 @@
checksums rmd160 5382cfaafa7ec1fadcf390f804fbf14e04d7c03a \
sha256 8b88e059452118e8949a2752a55ce59bc71fa5bc414103e17f5b6b06f9bcc8cd
-if {${subport} ne "ldns"} {
- distname ldns-${version}
- dist_subdir ldns
-}
-
depends_build bin:glibtool:libtool
depends_lib path:lib/libssl.dylib:openssl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161014/4c6a4da4/attachment-0002.html>
More information about the macports-changes
mailing list