summaryrefslogtreecommitdiff
path: root/devel/ocamlify
diff options
context:
space:
mode:
authorjaapb <jaapb>2014-08-17 13:38:10 +0000
committerjaapb <jaapb>2014-08-17 13:38:10 +0000
commit09b3511f83d19a35cd8f287298b05b313b001e86 (patch)
tree43e910be2808091c6991094e4fda60d48a4b5233 /devel/ocamlify
parent425d1c210da7e041a24258b97baf2c6649c749dd (diff)
downloadpkgsrc-09b3511f83d19a35cd8f287298b05b313b001e86.tar.gz
Added new package devel/ocamlify, which allows embedding of external
resources directly into OCaml code. Needed as a dependency for other packages, mostly.
Diffstat (limited to 'devel/ocamlify')
-rw-r--r--devel/ocamlify/DESCR4
-rw-r--r--devel/ocamlify/Makefile16
-rw-r--r--devel/ocamlify/PLIST2
-rw-r--r--devel/ocamlify/buildlink3.mk12
-rw-r--r--devel/ocamlify/distinfo5
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/ocamlify/DESCR b/devel/ocamlify/DESCR
new file mode 100644
index 00000000000..acf0d70ac35
--- /dev/null
+++ b/devel/ocamlify/DESCR
@@ -0,0 +1,4 @@
+OCamlify allows to create OCaml source code by including whole files
+into OCaml string or string list. The code generated can be compiled
+as a standard OCaml file. It allows embedding external resources as
+OCaml code.
diff --git a/devel/ocamlify/Makefile b/devel/ocamlify/Makefile
new file mode 100644
index 00000000000..7091f56e93a
--- /dev/null
+++ b/devel/ocamlify/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2014/08/17 13:38:10 jaapb Exp $
+
+PKGNAME= ${DISTNAME} # defined to avoid prefixing with ocaml-
+DISTNAME= ocamlify-0.0.2
+CATEGORIES= devel
+MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1209/
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= http://forge.ocamlcore.org/projects/ocamlify/
+COMMENT= Allows embedding external resources as OCaml code
+LICENSE= gnu-lgpl-v2.1
+
+OCAML_USE_OASIS= yes
+
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ocamlify/PLIST b/devel/ocamlify/PLIST
new file mode 100644
index 00000000000..de23c9371ce
--- /dev/null
+++ b/devel/ocamlify/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/17 13:38:10 jaapb Exp $
+bin/ocamlify
diff --git a/devel/ocamlify/buildlink3.mk b/devel/ocamlify/buildlink3.mk
new file mode 100644
index 00000000000..a1ce928b588
--- /dev/null
+++ b/devel/ocamlify/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/08/17 13:38:10 jaapb Exp $
+
+BUILDLINK_TREE+= ocamlify
+
+.if !defined(OCAMLIFY_BUILDLINK3_MK)
+OCAMLIFY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocamlify+= ocamlify>=0.0.2
+BUILDLINK_PKGSRCDIR.ocamlify?= ../../devel/ocamlify
+.endif # OCAMLIFY_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocamlify
diff --git a/devel/ocamlify/distinfo b/devel/ocamlify/distinfo
new file mode 100644
index 00000000000..16238ced0ae
--- /dev/null
+++ b/devel/ocamlify/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/17 13:38:10 jaapb Exp $
+
+SHA1 (ocamlify-0.0.2.tar.gz) = 9c52cd2ce6ee9a48b5f0e5ee8cc8576b733f7e46
+RMD160 (ocamlify-0.0.2.tar.gz) = 3462a5682975198096ca1f2b2ca88671db0172d0
+Size (ocamlify-0.0.2.tar.gz) = 53184 bytes