summaryrefslogtreecommitdiff
path: root/x11/ocaml-graphics/buildlink3.mk
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-12-24 17:17:49 +0000
committerjmmv <jmmv>2004-12-24 17:17:49 +0000
commit6f6300b3d8ab2dadd24cfed313abcdaa7d8cd8fe (patch)
tree416af154acc36448b66377e31aebfee49bb956f7 /x11/ocaml-graphics/buildlink3.mk
parentc0fc74cc502d504abb174c2357a5dec8e392b43b (diff)
downloadpkgsrc-6f6300b3d8ab2dadd24cfed313abcdaa7d8cd8fe.tar.gz
Initial import of ocaml-graphics, version 3.06:
This package provides the graphics library that comes with the ocaml compiler.
Diffstat (limited to 'x11/ocaml-graphics/buildlink3.mk')
-rw-r--r--x11/ocaml-graphics/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/ocaml-graphics/buildlink3.mk b/x11/ocaml-graphics/buildlink3.mk
new file mode 100644
index 00000000000..8a8c613896e
--- /dev/null
+++ b/x11/ocaml-graphics/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/12/24 17:17:49 jmmv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+OCAML_GRAPHICS_BUILDLINK3_MK:= ${OCAML_GRAPHICS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= ocaml-graphics
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nocaml-graphics}
+BUILDLINK_PACKAGES+= ocaml-graphics
+
+.if !empty(OCAML_GRAPHICS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.ocaml-graphics+= ocaml-graphics>=3.06
+BUILDLINK_PKGSRCDIR.ocaml-graphics?= ../../x11/ocaml-graphics
+.endif # OCAML_GRAPHICS_BUILDLINK3_MK
+
+.include "../../lang/ocaml/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}