summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-08-31 13:20:36 +0000
committerrillig <rillig@pkgsrc.org>2006-08-31 13:20:36 +0000
commitfcbd7842bad0d008e4bbc5a744db2e21b427bf2b (patch)
tree655f575d1813260e2f246235673c7c69efbe42a1 /devel
parente2b089acccc5bd48785981caf0405cf568a8126a (diff)
downloadpkgsrc-fcbd7842bad0d008e4bbc5a744db2e21b427bf2b.tar.gz
Added a buildlink3.mk file, which is needed by graphics/vtk, for
example.
Diffstat (limited to 'devel')
-rw-r--r--devel/cmake/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/cmake/buildlink3.mk b/devel/cmake/buildlink3.mk
new file mode 100644
index 00000000000..d42ec52a74a
--- /dev/null
+++ b/devel/cmake/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.6 2006/08/31 13:20:36 rillig Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+CMAKE_BUILDLINK3_MK:= ${CMAKE_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= cmake
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncmake}
+BUILDLINK_PACKAGES+= cmake
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cmake
+
+.if ${CMAKE_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.cmake+= cmake>=2.4.2
+BUILDLINK_PKGSRCDIR.cmake?= ../../devel/cmake
+BUILDLINK_FILES.cmake+= share/CMake/include/*
+.endif # CMAKE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}