diff options
author | wiz <wiz@pkgsrc.org> | 2012-05-29 14:45:14 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-05-29 14:45:14 +0000 |
commit | 88c0c8b3c3fbc2eeff7b230166ec63d57906796e (patch) | |
tree | 9e25f6ba24a8a67b401bf15e645e464b5b1ec8b3 /devel/ocaml-react | |
parent | 17d0fe6cef4ae80bc9aafc38f92475f9c241dfc0 (diff) | |
download | pkgsrc-88c0c8b3c3fbc2eeff7b230166ec63d57906796e.tar.gz |
Initial import of ocaml-react-0.9.3, packaged by Jaap Boender in PR 45184.
React is an OCaml module for functional reactive programming (FRP).
It provides support to program with time varying values: declarative events
and signals.
Diffstat (limited to 'devel/ocaml-react')
-rw-r--r-- | devel/ocaml-react/DESCR | 3 | ||||
-rw-r--r-- | devel/ocaml-react/Makefile | 53 | ||||
-rw-r--r-- | devel/ocaml-react/PLIST | 6 | ||||
-rw-r--r-- | devel/ocaml-react/PLIST.opt | 5 | ||||
-rw-r--r-- | devel/ocaml-react/distinfo | 5 |
5 files changed, 72 insertions, 0 deletions
diff --git a/devel/ocaml-react/DESCR b/devel/ocaml-react/DESCR new file mode 100644 index 00000000000..1811fe40d24 --- /dev/null +++ b/devel/ocaml-react/DESCR @@ -0,0 +1,3 @@ +React is an OCaml module for functional reactive programming (FRP). +It provides support to program with time varying values: declarative events +and signals. diff --git a/devel/ocaml-react/Makefile b/devel/ocaml-react/Makefile new file mode 100644 index 00000000000..5fccc30bc9a --- /dev/null +++ b/devel/ocaml-react/Makefile @@ -0,0 +1,53 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/05/29 14:45:14 wiz Exp $ + +PKGNAME= ocaml-${DISTNAME} +DISTNAME= react-0.9.3 +CATEGORIES= devel +MASTER_SITES= http://erratique.ch/software/react/releases/ +EXTRACT_SUFX= .tbz + +MAINTAINER= jaapb@kerguelen.org +HOMEPAGE= http://erratique.ch/software/react +COMMENT= OCaml module for functional reactive programming +LICENSE= modified-bsd + +USE_LANGUAGES= c +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix "${PREFIX}" --destdir "${DESTDIR}" + +PKG_DESTDIR_SUPPORT= user-destdir + +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,' + +DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib + +.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ + (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") +PLIST_SRC+= PLIST.opt +BUILD_TARGET= module +INSTALL_TARGET= install +.else +BUILD_TARGET= module-byte +INSTALL_TARGET= install-byte +.endif +PLIST_SRC+= PLIST + +do-configure: + cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS} + +do-build: + cd ${WRKSRC} && ocaml setup.ml -build + +pre-install: + ${RM} -rf ${DESTDIR}/${PREFIX}/lib/ocaml/site-lib/react + ${MKDIR} ${DESTDIR}/${PREFIX}/lib/ocaml/site-lib + +do-install: + cd ${WRKSRC} && ocaml setup.ml -install + +.include "../../lang/ocaml/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ocaml-react/PLIST b/devel/ocaml-react/PLIST new file mode 100644 index 00000000000..e9d034b4312 --- /dev/null +++ b/devel/ocaml-react/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/29 14:45:14 wiz Exp $ +@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/react +lib/ocaml/site-lib/react/META +lib/ocaml/site-lib/react/react.cmi +lib/ocaml/site-lib/react/react.mli +@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/react diff --git a/devel/ocaml-react/PLIST.opt b/devel/ocaml-react/PLIST.opt new file mode 100644 index 00000000000..f14d2327db7 --- /dev/null +++ b/devel/ocaml-react/PLIST.opt @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST.opt,v 1.1.1.1 2012/05/29 14:45:14 wiz Exp $ +lib/ocaml/site-lib/react/react.a +lib/ocaml/site-lib/react/react.cma +lib/ocaml/site-lib/react/react.cmx +lib/ocaml/site-lib/react/react.cmxa diff --git a/devel/ocaml-react/distinfo b/devel/ocaml-react/distinfo new file mode 100644 index 00000000000..57fcff62f05 --- /dev/null +++ b/devel/ocaml-react/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/05/29 14:45:14 wiz Exp $ + +SHA1 (react-0.9.3.tbz) = 949fbf9df877371b8a968d590aa88f43efa05eec +RMD160 (react-0.9.3.tbz) = 9f0ade798591d7a4da0d32ae1ea56f4baaae2b04 +Size (react-0.9.3.tbz) = 78204 bytes |