pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-react Initial import of ocaml-react-0.9.3,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9c13873d814
branches:  trunk
changeset: 604336:e9c13873d814
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue May 29 14:45:14 2012 +0000

description:
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:

 devel/ocaml-react/DESCR     |   3 ++
 devel/ocaml-react/Makefile  |  53 +++++++++++++++++++++++++++++++++++++++++++++
 devel/ocaml-react/PLIST     |   6 +++++
 devel/ocaml-react/PLIST.opt |   5 ++++
 devel/ocaml-react/distinfo  |   5 ++++
 5 files changed, 72 insertions(+), 0 deletions(-)

diffs (92 lines):

diff -r 8034164afe45 -r e9c13873d814 devel/ocaml-react/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-react/DESCR   Tue May 29 14:45:14 2012 +0000
@@ -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 -r 8034164afe45 -r e9c13873d814 devel/ocaml-react/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-react/Makefile        Tue May 29 14:45:14 2012 +0000
@@ -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@localhost
+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 -r 8034164afe45 -r e9c13873d814 devel/ocaml-react/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-react/PLIST   Tue May 29 14:45:14 2012 +0000
@@ -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 -r 8034164afe45 -r e9c13873d814 devel/ocaml-react/PLIST.opt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-react/PLIST.opt       Tue May 29 14:45:14 2012 +0000
@@ -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 -r 8034164afe45 -r e9c13873d814 devel/ocaml-react/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-react/distinfo        Tue May 29 14:45:14 2012 +0000
@@ -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



Home | Main Index | Thread Index | Old Index