summaryrefslogtreecommitdiff
path: root/net/ldns/buildlink3.mk
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2008-07-22 08:29:06 +0000
committerhe <he@pkgsrc.org>2008-07-22 08:29:06 +0000
commit3b48e87956ce3dbd243e0fa628d13cbe1631b95d (patch)
treeb6fc4cea1b518978ac51019dc2df26877b541ba8 /net/ldns/buildlink3.mk
parent91280110a0f71a91af251edc341ed5e14ea88aed (diff)
downloadpkgsrc-3b48e87956ce3dbd243e0fa628d13cbe1631b95d.tar.gz
Import ldns version 1.3.0 from NLnet Labs.
The goal of ldns is to simplify DNS programming, it supports recent RFCs like the DNSSEC documents, and allows developers to easily create software conforming to current RFCs, and experimental software for current Internet Drafts. A secondary benefit of using ldns is speed; ldns is written in C it should be a lot faster than Perl.
Diffstat (limited to 'net/ldns/buildlink3.mk')
-rw-r--r--net/ldns/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/ldns/buildlink3.mk b/net/ldns/buildlink3.mk
new file mode 100644
index 00000000000..9e3f7219343
--- /dev/null
+++ b/net/ldns/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/07/22 08:29:06 he Exp $
+
+BUILDLINK_DEPMETHOD.ldns?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LDNS_BUILDLINK3_MK:= ${LDNS_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= ldns
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nldns}
+BUILDLINK_PACKAGES+= ldns
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ldns
+
+.if ${LDNS_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.ldns+= ldns>=1.0
+BUILDLINK_PKGSRCDIR.ldns?= ../../net/ldns
+.endif # LDNS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}