2015-06-30 13:52:55 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2015/06/30 11:52:57 jaapb Exp $
|
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
|
|
|
DISTNAME= react-1.2.0
|
2015-06-30 13:52:55 +02:00
|
|
|
PKGREVISION= 2
|
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
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
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
|
|
|
|
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
|
|
|
#SUBST_CLASSES+= destdir
|
|
|
|
#SUBST_STAGE.destdir= post-configure
|
|
|
|
#SUBST_MESSAGE.destdir= Changing install location to DESTDIR
|
|
|
|
#SUBST_FILES.destdir= setup.ml
|
|
|
|
#SUBST_SED.destdir= -e 's,"install" :: findlib_name,"install" :: "-destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /dev/null" :: findlib_name,'
|
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"
|
2012-05-29 16:45:14 +02:00
|
|
|
|
|
|
|
do-build:
|
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
|
|
|
.if ${OCAML_USE_OPT_COMPILER} == yes
|
2014-11-27 14:38:15 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ocaml pkg/build.ml native=true native-dynlink=true
|
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
|
|
|
.else
|
2014-11-27 14:38:15 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ocaml pkg/build.ml
|
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
|
|
|
.endif
|
2012-05-29 16:45:14 +02:00
|
|
|
|
|
|
|
do-install:
|
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
|
|
|
for i in react.cma react.cmi react.mli react_top.cma; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/_build/src/$$i \
|
|
|
|
${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/react; \
|
|
|
|
done
|
|
|
|
.if ${OCAML_USE_OPT_COMPILER} == yes
|
|
|
|
for i in react.a react.cmx react.cmxa react.cmxs react_top.a react_top.cmxa \
|
|
|
|
react_top.cmxs; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/_build/src/$$i \
|
|
|
|
${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/react; \
|
|
|
|
done
|
|
|
|
.endif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/_build/pkg/META \
|
|
|
|
${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/react
|
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 "../../devel/ocaml-findlib/buildlink3.mk"
|
2012-05-29 16:45:14 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|