2018-11-12 17:10:16 +01:00
|
|
|
# $NetBSD: Makefile,v 1.19 2018/11/12 16:10:22 jaapb Exp $
|
2012-05-29 16:45:14 +02:00
|
|
|
|
2017-07-11 13:02:44 +02:00
|
|
|
DISTNAME= react-1.2.1
|
2016-02-06 13:55:08 +01:00
|
|
|
PKGNAME= ocaml-${DISTNAME}
|
2018-11-12 17:10:16 +01:00
|
|
|
PKGREVISION= 5
|
2012-05-29 16:45:14 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://erratique.ch/software/react/releases/
|
|
|
|
EXTRACT_SUFX= .tbz
|
|
|
|
|
Updated ocaml-react to latest version, 1.2.0. Changes include:
- Fix bug in dynamic creation of S.{diff,changes} (#8).
- Fix bug in dynamic creation of S.switch (#7).
- Add support for toplevel: automatically `open React` on `#require "react"`.
- Add `S.Bool.{flip,edge,fall,rise}`.
- Fix `S.switch` rank's initialisation.
- Add `E.l{1,2,3,4,5,6}`, lifting combinators on events.
- Add `E.Option.{some,value}`.
- Add `S.{Float,Int}.{zero,one,minus_one}`.
- Add `S.Bool.{zero,one}`.
- Add `S.Option.{none,some,value}`.
- Add `{S,E}.on` equivalent to `{S,E}.when_`.
- Deprecate `{S,E}.when_` (syntax error prone).
- Fix `S.bind`.
- Use package builder topkg for distribution.
- Add support for update steps, see the `React.Step` module. Allows to
specify simultaneous primitive signal updates and event occurences.
The functions returned by `{S,E}.create` now have an optional
`?step` argument; if unused the previous semantics is preserved.
- Add support for strong stops, can be used on platforms where weak
arrays are not to prevent leaks. The function `{E,S}.stop` now have
an optional `?strong` argument; if unused the previous semantics is
preserved.
- Change signature of `S.switch`. Any existing call `S.switch ~eq s es` can
be replaced by `S.(switch ~eq (hold ~eq:( == ) s es))`.
2014-10-09 23:38:49 +02:00
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
2012-05-29 16:45:14 +02:00
|
|
|
HOMEPAGE= http://erratique.ch/software/react
|
|
|
|
COMMENT= OCaml module for functional reactive programming
|
2017-07-11 13:02:44 +02:00
|
|
|
LICENSE= isc
|
2012-05-29 16:45:14 +02:00
|
|
|
|
Updated ocaml-react to latest version, 1.2.0. Changes include:
- Fix bug in dynamic creation of S.{diff,changes} (#8).
- Fix bug in dynamic creation of S.switch (#7).
- Add support for toplevel: automatically `open React` on `#require "react"`.
- Add `S.Bool.{flip,edge,fall,rise}`.
- Fix `S.switch` rank's initialisation.
- Add `E.l{1,2,3,4,5,6}`, lifting combinators on events.
- Add `E.Option.{some,value}`.
- Add `S.{Float,Int}.{zero,one,minus_one}`.
- Add `S.Bool.{zero,one}`.
- Add `S.Option.{none,some,value}`.
- Add `{S,E}.on` equivalent to `{S,E}.when_`.
- Deprecate `{S,E}.when_` (syntax error prone).
- Fix `S.bind`.
- Use package builder topkg for distribution.
- Add support for update steps, see the `React.Step` module. Allows to
specify simultaneous primitive signal updates and event occurences.
The functions returned by `{S,E}.create` now have an optional
`?step` argument; if unused the previous semantics is preserved.
- Add support for strong stops, can be used on platforms where weak
arrays are not to prevent leaks. The function `{E,S}.stop` now have
an optional `?strong` argument; if unused the previous semantics is
preserved.
- Change signature of `S.switch`. Any existing call `S.switch ~eq s es` can
be replaced by `S.(switch ~eq (hold ~eq:( == ) s es))`.
2014-10-09 23:38:49 +02:00
|
|
|
CONFIGURE_ARGS+= --prefix "${PREFIX}" --destdir "${DESTDIR}"
|
|
|
|
INSTALLATION_DIRS+= ${OCAML_SITELIBDIR}/react
|
2012-05-29 16:45:14 +02:00
|
|
|
|
2017-07-11 13:02:44 +02:00
|
|
|
OCAML_USE_TOPKG= yes
|
|
|
|
OCAML_USE_OPAM= yes
|
2012-05-29 16:45:14 +02:00
|
|
|
|
Updated ocaml-react to latest version, 1.2.0. Changes include:
- Fix bug in dynamic creation of S.{diff,changes} (#8).
- Fix bug in dynamic creation of S.switch (#7).
- Add support for toplevel: automatically `open React` on `#require "react"`.
- Add `S.Bool.{flip,edge,fall,rise}`.
- Fix `S.switch` rank's initialisation.
- Add `E.l{1,2,3,4,5,6}`, lifting combinators on events.
- Add `E.Option.{some,value}`.
- Add `S.{Float,Int}.{zero,one,minus_one}`.
- Add `S.Bool.{zero,one}`.
- Add `S.Option.{none,some,value}`.
- Add `{S,E}.on` equivalent to `{S,E}.when_`.
- Deprecate `{S,E}.when_` (syntax error prone).
- Fix `S.bind`.
- Use package builder topkg for distribution.
- Add support for update steps, see the `React.Step` module. Allows to
specify simultaneous primitive signal updates and event occurences.
The functions returned by `{S,E}.create` now have an optional
`?step` argument; if unused the previous semantics is preserved.
- Add support for strong stops, can be used on platforms where weak
arrays are not to prevent leaks. The function `{E,S}.stop` now have
an optional `?strong` argument; if unused the previous semantics is
preserved.
- Change signature of `S.switch`. Any existing call `S.switch ~eq s es` can
be replaced by `S.(switch ~eq (hold ~eq:( == ) s es))`.
2014-10-09 23:38:49 +02:00
|
|
|
.include "../../mk/ocaml.mk"
|
2016-06-25 16:29:01 +02:00
|
|
|
.include "../../devel/ocamlbuild/buildlink3.mk"
|
2012-05-29 16:45:14 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|