summaryrefslogtreecommitdiff
path: root/lang/ocaml
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2002-10-16 16:25:10 +0000
committerdillo <dillo@pkgsrc.org>2002-10-16 16:25:10 +0000
commit7208881213b20ac1b6f8c4ce316ff2ee80ec517d (patch)
treeccf6a4e1fb1e484e3be0519d7033d07bf9ed4119 /lang/ocaml
parentc60104a3dc9de1e1d5c05d94ee535f9871f83bc0 (diff)
downloadpkgsrc-7208881213b20ac1b6f8c4ce316ff2ee80ec517d.tar.gz
add buildink2.mk
Diffstat (limited to 'lang/ocaml')
-rw-r--r--lang/ocaml/buildlink2.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/lang/ocaml/buildlink2.mk b/lang/ocaml/buildlink2.mk
new file mode 100644
index 00000000000..b11fadc15e7
--- /dev/null
+++ b/lang/ocaml/buildlink2.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/10/16 16:25:10 dillo Exp $
+#
+# This Makefile fragment is included by packages that use ocaml.
+
+.if !defined(OCAML_BUILDLINK2_MK)
+OCAML_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= ocaml
+BUILDLINK_DEPENDS.ocaml?= ocaml>=3.06
+BUILDLINK_PKGSRCDIR.ocaml?= ../../lang/ocaml
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.ocaml=ocaml
+BUILDLINK_PREFIX.ocaml_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.ocaml+= lib/ocaml/*.*
+BUILDLINK_FILES.ocaml+= lib/ocaml/caml/*
+BUILDLINK_FILES.ocaml+= lib/ocaml/camlp4/*
+BUILDLINK_FILES.ocaml+= lib/ocaml/labltk/*
+BUILDLINK_FILES.ocaml+= lib/ocaml/ocamldoc/*
+BUILDLINK_FILES.ocaml+= lib/ocaml/threads/*
+
+BUILDLINK_TARGETS+= ocaml-buildlink
+
+ocaml-buildlink: _BUILDLINK_USE
+
+.endif # OCAML_BUILDLINK2_MK