summaryrefslogtreecommitdiff
path: root/ham/hamlib/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ham/hamlib/buildlink3.mk')
-rw-r--r--ham/hamlib/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/ham/hamlib/buildlink3.mk b/ham/hamlib/buildlink3.mk
new file mode 100644
index 00000000000..b5eb9666934
--- /dev/null
+++ b/ham/hamlib/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/11 07:17:47 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+HAMLIB_BUILDLINK3_MK:= ${HAMLIB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= hamlib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhamlib}
+BUILDLINK_PACKAGES+= hamlib
+
+.if !empty(HAMLIB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.hamlib+= hamlib>=1.1.4
+BUILDLINK_PKGSRCDIR.hamlib?= ../../ham/hamlib
+.endif # HAMLIB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}