svn commit: r386576 - in head/devel/ocaml-react: . files
Johan van Selst
johans at FreeBSD.org
Sat May 16 20:36:17 UTC 2015
Author: johans
Date: Sat May 16 20:36:16 2015
New Revision: 386576
URL: https://svnweb.freebsd.org/changeset/ports/386576
Log:
- Update ocaml-react to 1.2.0
- Manual build and install
- Adopt port
Deleted:
head/devel/ocaml-react/files/
Modified:
head/devel/ocaml-react/Makefile
head/devel/ocaml-react/distinfo
Modified: head/devel/ocaml-react/Makefile
==============================================================================
--- head/devel/ocaml-react/Makefile Sat May 16 20:31:05 2015 (r386575)
+++ head/devel/ocaml-react/Makefile Sat May 16 20:36:16 2015 (r386576)
@@ -2,14 +2,13 @@
# $FreeBSD$
PORTNAME= react
-PORTVERSION= 0.9.4
-PORTREVISION= 1
+PORTVERSION= 1.2.0
CATEGORIES= devel
MASTER_SITES= http://erratique.ch/software/react/releases/
PKGNAMEPREFIX= ocaml-
EXTRACT_SUFX= .tbz
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= johans at FreeBSD.org
COMMENT= OCaml module for functional reactive programming
LICENSE= BSD3CLAUSE
@@ -28,22 +27,15 @@ OCAMLC_DEPEND= ocaml>=3.11:${OCAMLC_POR
.endif
USE_OCAML_FINDLIB= yes
+USE_OCAMLFIND_PLIST= yes
USE_OCAML_LDCONFIG= yes
-post-patch:
- @${REINPLACE_CMD} -e 's,"install" :: findlib_name,"install" :: "-destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /dev/null" :: findlib_name,' \
- ${WRKSRC}/setup.ml
-
-do-configure:
- @cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS}
-
do-build:
- (cd ${WRKSRC} && ocaml setup.ml -build)
- (cd ${WRKSRC} && ocamlbuild src/react.cmxs)
+ cd ${WRKSRC} && ocamlbuild react.cmxs react.cma react.a
do-install:
- ${MKDIR} ${STAGEDIR}${OCAMLFIND_DESTDIR}
- (cd ${WRKSRC} && ocaml setup.ml -install)
+ ${MKDIR} ${STAGEDIR}${OCAMLFIND_DESTDIR}/react
+ cd ${WRKSRC} && ocamlfind install -destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib react pkg/META _build/src/react.a _build/src/react.cma _build/src/react.cmi _build/src/react.cmx _build/src/react.cmxa _build/src/react.cmxs _build/src/react.mli
${INSTALL_LIB} ${WRKSRC}/_build/src/react.cmxs \
${STAGEDIR}${OCAMLFIND_DESTDIR}/react
Modified: head/devel/ocaml-react/distinfo
==============================================================================
--- head/devel/ocaml-react/distinfo Sat May 16 20:31:05 2015 (r386575)
+++ head/devel/ocaml-react/distinfo Sat May 16 20:36:16 2015 (r386576)
@@ -1,2 +1,2 @@
-SHA256 (react-0.9.4.tbz) = 466ad4e2e7ff57c93c4e51511f53f2bdf32df46354458f4a158cd13bf3fbd4ab
-SIZE (react-0.9.4.tbz) = 82964
+SHA256 (react-1.2.0.tbz) = 887aaea9191870bc0f37f945c02ec4c90497d949cd4dedc3d565c3fbec7ad04e
+SIZE (react-1.2.0.tbz) = 64665
More information about the svn-ports-all
mailing list