pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Added ocaml-cairo



Module Name:	pkgsrc-wip
Committed By:	Jaap Boender <jaapb%kerguelen.org@localhost>
Pushed By:	jaapb
Date:		Mon May 6 16:12:03 2019 +0100
Changeset:	f2f9efe6efb607e74c6cbc3081dcb5f1f95cb2cd

Added Files:
	ocaml-cairo/DESCR
	ocaml-cairo/Makefile
	ocaml-cairo/PLIST
	ocaml-cairo/buildlink3.mk
	ocaml-cairo/distinfo

Log Message:
Added ocaml-cairo

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f2f9efe6efb607e74c6cbc3081dcb5f1f95cb2cd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ocaml-cairo/DESCR         |  0
 ocaml-cairo/Makefile      | 20 ++++++++++++++++++++
 ocaml-cairo/PLIST         | 20 ++++++++++++++++++++
 ocaml-cairo/buildlink3.mk | 14 ++++++++++++++
 ocaml-cairo/distinfo      |  6 ++++++
 5 files changed, 60 insertions(+)

diffs:
diff --git a/ocaml-cairo/DESCR b/ocaml-cairo/DESCR
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/ocaml-cairo/Makefile b/ocaml-cairo/Makefile
new file mode 100644
index 0000000000..9ed1a624e2
--- /dev/null
+++ b/ocaml-cairo/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	ocaml-cairo
+DISTNAME=	${GITHUB_PROJECT}-0.6.1
+CATEGORIES=	wip
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Chris00/}
+
+MAINTAINER=	jaapb%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/Chris00/ocaml-cairo/
+COMMENT=	Bindings for OCaml to the cairo library
+#LICENSE=	# TODO: (see mk/license.mk)
+
+OCAML_USE_DUNE=	yes
+OCAML_FINDLIB_DIRS=	cairo2
+OPAM_INSTALL_FILES=	cairo2
+
+.include "../../mk/ocaml.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../x11/ocaml-lablgtk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ocaml-cairo/PLIST b/ocaml-cairo/PLIST
new file mode 100644
index 0000000000..bec2f4aeff
--- /dev/null
+++ b/ocaml-cairo/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD$
+${OCAML_SITELIB}/cairo2/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cairo2/cairo.a
+${OCAML_SITELIB}/cairo2/cairo.cma
+${OCAML_SITELIB}/cairo2/cairo.cmi
+${OCAML_SITELIB}/cairo2/cairo.cmt
+${OCAML_SITELIB}/cairo2/cairo.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cairo2/cairo.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cairo2/cairo.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cairo2/cairo.cmxs
+${OCAML_SITELIB}/cairo2/cairo.ml
+${OCAML_SITELIB}/cairo2/cairo.mli
+${OCAML_SITELIB}/cairo2/cairo_ocaml.h
+${OCAML_SITELIB}/cairo2/dune-package
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cairo2/libcairo_stubs.a
+${OCAML_SITELIB}/cairo2/opam
+${OCAML_SITELIB}/stublibs/dllcairo_stubs.so
+share/doc/cairo2/CHANGES.md
+share/doc/cairo2/LICENSE.md
+share/doc/cairo2/README.md
diff --git a/ocaml-cairo/buildlink3.mk b/ocaml-cairo/buildlink3.mk
new file mode 100644
index 0000000000..533e48b7b5
--- /dev/null
+++ b/ocaml-cairo/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	ocaml-cairo
+
+.if !defined(OCAML_CAIRO_BUILDLINK3_MK)
+OCAML_CAIRO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-cairo+=	ocaml-cairo>=0.6.1
+BUILDLINK_PKGSRCDIR.ocaml-cairo?=	../../wip/ocaml-cairo
+
+.include "../../graphics/cairo/buildlink3.mk"
+.endif	# OCAML_CAIRO_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-ocaml-cairo
diff --git a/ocaml-cairo/distinfo b/ocaml-cairo/distinfo
new file mode 100644
index 0000000000..90458dd342
--- /dev/null
+++ b/ocaml-cairo/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (ocaml-cairo-0.6.1.tar.gz) = a05089518a53b7459d5d54c730668e873831b612
+RMD160 (ocaml-cairo-0.6.1.tar.gz) = 2be6a0988f7c5179be8a7b6267aa48fdd80d0bc8
+SHA512 (ocaml-cairo-0.6.1.tar.gz) = d1dcc8cb1e46d3d954cca7aaede9390f2dcc883597970b2610f3f285c922302b6da275aebe144c08dcf969d7f49588488b94cfaf6ac869f56dbe0df9e7279445
+Size (ocaml-cairo-0.6.1.tar.gz) = 109786 bytes


Home | Main Index | Thread Index | Old Index