summaryrefslogtreecommitdiff
path: root/devel/cmake/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cmake/buildlink3.mk')
-rw-r--r--devel/cmake/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/cmake/buildlink3.mk b/devel/cmake/buildlink3.mk
new file mode 100644
index 00000000000..aa54f212527
--- /dev/null
+++ b/devel/cmake/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/09/10 11:20:03 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+CMAKE_BUILDLINK3_MK:= ${CMAKE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= cmake
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncmake}
+BUILDLINK_PACKAGES+= cmake
+
+.if !empty(CMAKE_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.cmake+= cmake>=2.0.2
+BUILDLINK_PKGSRCDIR.cmake?= ../../devel/cmake
+BUILDLINK_DEPMETHOD.cmake?= build
+.endif # CMAKE_BUILDLINK3_MK
+
+.include "../../devel/ncurses/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}