pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-reactiveData New package ocaml-reactiveDat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d63426bd83c9
branches:  trunk
changeset: 644993:d63426bd83c9
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Jan 20 15:19:54 2015 +0000

description:
New package ocaml-reactiveData, reactive programming with incremental
changes in data structures. Needed as a dependency for js_of_ocaml.

diffstat:

 devel/ocaml-reactiveData/DESCR         |   3 ++
 devel/ocaml-reactiveData/Makefile      |  40 ++++++++++++++++++++++++++++++++++
 devel/ocaml-reactiveData/PLIST         |   9 +++++++
 devel/ocaml-reactiveData/buildlink3.mk |  14 +++++++++++
 devel/ocaml-reactiveData/distinfo      |   5 ++++
 5 files changed, 71 insertions(+), 0 deletions(-)

diffs (91 lines):

diff -r cfc77eef9a71 -r d63426bd83c9 devel/ocaml-reactiveData/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-reactiveData/DESCR    Tue Jan 20 15:19:54 2015 +0000
@@ -0,0 +1,3 @@
+ReactiveData is an OCaml module for functional reactive programming (FRP) based
+on React. It adds support to incremental changes in data structures by
+reasoning on patches instead of absolute values.
diff -r cfc77eef9a71 -r d63426bd83c9 devel/ocaml-reactiveData/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-reactiveData/Makefile Tue Jan 20 15:19:54 2015 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2015/01/20 15:19:54 jaapb Exp $
+
+VERSION=       0.1
+PKGNAME=       ocaml-reactiveData-${VERSION}
+DISTNAME=      ${VERSION}
+CATEGORIES=    devel
+MASTER_SITES=  http://github.com/hhugo/reactiveData/archive/
+DIST_SUBDIR=   ocaml-reactiveData
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      http://github.com/hhugo/reactiveData
+COMMENT=       Functional reactive programming library
+LICENSE=       gnu-lgpl-v2.1
+
+WRKSRC=                ${WRKDIR}/reactiveData-0.1
+OCAML_USE_FINDLIB=     yes
+
+.include "../../mk/ocaml.mk"
+
+INSTALL_FILES= cma cmi mli
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+MAKE_ENV+=     NATIVE=true
+INSTALL_FILES+=        a cmx cmxa cmxs
+.else
+MAKE_ENV+=     NATIVE=false
+.endif
+BUILD_TARGET=  build
+
+INSTALLATION_DIRS+=    ${OCAML_SITELIBDIR}/reactiveData
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/_build/pkg/META \
+       ${DESTDIR}/${PREFIX}/${OCAML_SITELIBDIR}/reactiveData
+       for i in ${INSTALL_FILES}; do \
+               ${INSTALL_DATA} ${WRKSRC}/_build/src/reactiveData.$$i \
+               ${DESTDIR}/${PREFIX}/${OCAML_SITELIBDIR}/reactiveData; \
+       done
+
+.include "../../devel/ocaml-react/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r cfc77eef9a71 -r d63426bd83c9 devel/ocaml-reactiveData/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-reactiveData/PLIST    Tue Jan 20 15:19:54 2015 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2015/01/20 15:19:54 jaapb Exp $
+${OCAML_SITELIB}/reactiveData/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.a
+${OCAML_SITELIB}/reactiveData/reactiveData.cma
+${OCAML_SITELIB}/reactiveData/reactiveData.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.cmxs
+${OCAML_SITELIB}/reactiveData/reactiveData.mli
diff -r cfc77eef9a71 -r d63426bd83c9 devel/ocaml-reactiveData/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-reactiveData/buildlink3.mk    Tue Jan 20 15:19:54 2015 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/01/20 15:19:54 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-reactiveData
+
+.if !defined(OCAML_REACTIVEDATA_BUILDLINK3_MK)
+OCAML_REACTIVEDATA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-reactiveData+=     ocaml-reactiveData>=0.1
+BUILDLINK_PKGSRCDIR.ocaml-reactiveData?=       ../../devel/ocaml-reactiveData
+
+.include "../../devel/ocaml-react/buildlink3.mk"
+.endif # OCAML_REACTIVEDATA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-reactiveData
diff -r cfc77eef9a71 -r d63426bd83c9 devel/ocaml-reactiveData/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-reactiveData/distinfo Tue Jan 20 15:19:54 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/01/20 15:19:54 jaapb Exp $
+
+SHA1 (ocaml-reactiveData/0.1.tar.gz) = ea52b18d332e6aa08a86d1509d9282b3c1aacfab
+RMD160 (ocaml-reactiveData/0.1.tar.gz) = 120b4cc506923c0937c695eaa4323112873d9907
+Size (ocaml-reactiveData/0.1.tar.gz) = 17074 bytes



Home | Main Index | Thread Index | Old Index