summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2007-07-29 21:34:31 +0000
committerseb <seb@pkgsrc.org>2007-07-29 21:34:31 +0000
commitbdd2a54ff27b88f1497cdd5645a755997430e649 (patch)
treefc91e8c08238fe58639a6fcc3892f8d74fefead3
parent60436d83571006c106c8f38b9ae73ece01feac8c (diff)
downloadpkgsrc-bdd2a54ff27b88f1497cdd5645a755997430e649.tar.gz
Add buildlink3 file.
-rw-r--r--net/flow-tools/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/flow-tools/buildlink3.mk b/net/flow-tools/buildlink3.mk
new file mode 100644
index 00000000000..78be816c2d3
--- /dev/null
+++ b/net/flow-tools/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/07/29 21:34:31 seb Exp $
+
+BUILDLINK_DEPMETHOD.flow-tools?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FLOW_TOOLS_BUILDLINK3_MK:= ${FLOW_TOOLS_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= flow-tools
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nflow-tools}
+BUILDLINK_PACKAGES+= flow-tools
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}flow-tools
+
+.if ${FLOW_TOOLS_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.flow-tools+= flow-tools>=0.68nb2
+BUILDLINK_PKGSRCDIR.flow-tools?= ../../net/flow-tools
+.endif # FLOW_TOOLS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}