diff --git a/devel/ocaml-react/Makefile b/devel/ocaml-react/Makefile new file mode 100644 index 00000000000..ed7797b2e54 --- /dev/null +++ b/devel/ocaml-react/Makefile @@ -0,0 +1,38 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2012/08/18 23:13:53 avsm Exp $ + +COMMENT = functional reactive programming (FRP) for OCaml +CATEGORIES = devel + +V = 0.9.4 +DISTNAME = react-${V} +EXTRACT_SUFX = .tbz +NAME = ocaml-react +PKGNAME = ${NAME}-${V} +MASTER_SITES = http://erratique.ch/software/react/releases/ + +HOMEPAGE = http://erratique.ch/software/react + + +# BSD3 +PERMIT_PACKAGE_FTP = Yes +PERMIT_PACKAGE_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes + +MODULES = lang/ocaml + +BUILD_DEPENDS = sysutils/findlib +RUN_DEPENDS = lang/ocaml + +CONFIGURE_STYLE = oasis +CONFIGURE_ARGS = --enable-tests + +ALL_TARGET = -build + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${NAME}/api + ${INSTALL_DATA} ${WRKDIST}/doc/* ${PREFIX}/share/doc/${NAME}/api/ + ${INSTALL_DATA} ${WRKDIST}/{README,CHANGES} ${PREFIX}/share/doc/${NAME}/ + + +.include diff --git a/devel/ocaml-react/distinfo b/devel/ocaml-react/distinfo new file mode 100644 index 00000000000..3121eee5c36 --- /dev/null +++ b/devel/ocaml-react/distinfo @@ -0,0 +1,2 @@ +SHA256 (react-0.9.4.tbz) = RmrU4uf/V8k8TlFRH1PyvfMt9GNURY9KFYzRO/P71Ks= +SIZE (react-0.9.4.tbz) = 82964 diff --git a/devel/ocaml-react/pkg/DESCR b/devel/ocaml-react/pkg/DESCR new file mode 100644 index 00000000000..495e90c3865 --- /dev/null +++ b/devel/ocaml-react/pkg/DESCR @@ -0,0 +1,7 @@ +React is an OCaml module for functional reactive programming (FRP). It +provides support to program with time varying values : declarative +events and signals. React doesn't define any primitive event or +signal, it lets the client chooses the concrete timeline. + +React is made of a single, independent, module and distributed under +the BSD3 license. diff --git a/devel/ocaml-react/pkg/PFRAG.dynlink-native b/devel/ocaml-react/pkg/PFRAG.dynlink-native new file mode 100644 index 00000000000..d0ac234872b --- /dev/null +++ b/devel/ocaml-react/pkg/PFRAG.dynlink-native @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.dynlink-native,v 1.1.1.1 2012/08/18 23:13:53 avsm Exp $ +@bin lib/ocaml/react/react.cmxs diff --git a/devel/ocaml-react/pkg/PFRAG.native b/devel/ocaml-react/pkg/PFRAG.native new file mode 100644 index 00000000000..d8fda92fafe --- /dev/null +++ b/devel/ocaml-react/pkg/PFRAG.native @@ -0,0 +1,5 @@ +@comment $OpenBSD: PFRAG.native,v 1.1.1.1 2012/08/18 23:13:53 avsm Exp $ +%%dynlink%% +lib/ocaml/react/react.a +lib/ocaml/react/react.cmx +lib/ocaml/react/react.cmxa diff --git a/devel/ocaml-react/pkg/PLIST b/devel/ocaml-react/pkg/PLIST new file mode 100644 index 00000000000..1d88bbe50a0 --- /dev/null +++ b/devel/ocaml-react/pkg/PLIST @@ -0,0 +1,53 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2012/08/18 23:13:53 avsm Exp $ +%%native%% +lib/ocaml/react/ +lib/ocaml/react/META +lib/ocaml/react/react.cma +lib/ocaml/react/react.cmi +lib/ocaml/react/react.mli +share/doc/ocaml-react/ +share/doc/ocaml-react/CHANGES +share/doc/ocaml-react/README +share/doc/ocaml-react/api/ +share/doc/ocaml-react/api/React.E.html +share/doc/ocaml-react/api/React.S.Bool.html +share/doc/ocaml-react/api/React.S.Compare.html +share/doc/ocaml-react/api/React.S.EqType.html +share/doc/ocaml-react/api/React.S.Float.html +share/doc/ocaml-react/api/React.S.Int.html +share/doc/ocaml-react/api/React.S.Make.html +share/doc/ocaml-react/api/React.S.Pair.html +share/doc/ocaml-react/api/React.S.S.html +share/doc/ocaml-react/api/React.S.Special.Sb.html +share/doc/ocaml-react/api/React.S.Special.Sf.html +share/doc/ocaml-react/api/React.S.Special.Si.html +share/doc/ocaml-react/api/React.S.Special.html +share/doc/ocaml-react/api/React.S.html +share/doc/ocaml-react/api/React.html +share/doc/ocaml-react/api/api.odocl +share/doc/ocaml-react/api/index.html +share/doc/ocaml-react/api/index_attributes.html +share/doc/ocaml-react/api/index_class_types.html +share/doc/ocaml-react/api/index_classes.html +share/doc/ocaml-react/api/index_exceptions.html +share/doc/ocaml-react/api/index_methods.html +share/doc/ocaml-react/api/index_module_types.html +share/doc/ocaml-react/api/index_modules.html +share/doc/ocaml-react/api/index_types.html +share/doc/ocaml-react/api/index_values.html +share/doc/ocaml-react/api/style.css +share/doc/ocaml-react/api/type_React.E.html +share/doc/ocaml-react/api/type_React.S.Bool.html +share/doc/ocaml-react/api/type_React.S.Compare.html +share/doc/ocaml-react/api/type_React.S.EqType.html +share/doc/ocaml-react/api/type_React.S.Float.html +share/doc/ocaml-react/api/type_React.S.Int.html +share/doc/ocaml-react/api/type_React.S.Make.html +share/doc/ocaml-react/api/type_React.S.Pair.html +share/doc/ocaml-react/api/type_React.S.S.html +share/doc/ocaml-react/api/type_React.S.Special.Sb.html +share/doc/ocaml-react/api/type_React.S.Special.Sf.html +share/doc/ocaml-react/api/type_React.S.Special.Si.html +share/doc/ocaml-react/api/type_React.S.Special.html +share/doc/ocaml-react/api/type_React.S.html +share/doc/ocaml-react/api/type_React.html