ports/156472: [new port] devel/ocaml-react - OCaml library for reactive programming
Jaap Boender
jaapb at kerguelen.org
Wed Dec 14 10:00:29 UTC 2011
The following reply was made to PR ports/156472; it has been noted by GNATS.
From: Jaap Boender <jaapb at kerguelen.org>
To: bug-followup at freebsd.org
Cc:
Subject: Re: ports/156472: [new port] devel/ocaml-react - OCaml library for reactive programming
Date: Wed, 14 Dec 2011 10:51:39 +0100
--Boundary-00=_sGH6OCMHSAzhodU
Content-Type: Text/Plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
In the meantime, I've had to make a few improvements to the port (the version
hasn't changed, but the findlib installation wasn't entirely correct). Here is
a diff to the shar submitted earlier.
--Boundary-00=_sGH6OCMHSAzhodU
Content-Type: text/plain;
charset="ISO-8859-1";
name="patch-react.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="patch-react.txt"
diff -Naur ocaml-react.old/Makefile ocaml-react/Makefile
--- ocaml-react.old/Makefile 2011-12-14 10:43:29.412464921 +0100
+++ ocaml-react/Makefile 2011-12-14 10:49:41.324430827 +0100
@@ -9,24 +9,18 @@
CATEGORIES= devel
MASTER_SITES= http://erratique.ch/software/react/releases/
PKGNAMEPREFIX= ocaml-
-DISTNAME= ${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tbz
MAINTAINER= jaapb at kerguelen.org
COMMENT= OCaml module for functional reactive programming
+USE_BZIP2= yes
USE_OCAML= yes
OCAMLC_DEPEND= ocaml>=3.11:${OCAMLC_PORT}
USE_OCAML_LDCONFIG= yes
.include <bsd.port.pre.mk>
-do-build:
- @cd ${WRKSRC} && ${SH} ./build
-
-do-install:
- @cd ${WRKSRC} && INSTALLDIR=${PREFIX}/lib/ocaml/site-lib/${PORTNAME} ${SH} ./build install-plugin
-
post-extract:
# For nonstandard prefixes
.if !exists(${OCAMLFIND_DESTDIR})
@@ -36,4 +30,10 @@
${TOUCH} ${OCAMLFIND_LDCONF}
.endif
+do-build:
+ @cd ${WRKSRC} && ${SH} build module
+
+do-install:
+ @cd ${WRKSRC} && INSTALLDIR=${PREFIX}/lib/ocaml/site-lib/react ${SH} build install-plugin
+
.include <bsd.port.post.mk>
diff -Naur ocaml-react.old/files/patch-src_META ocaml-react/files/patch-src_META
--- ocaml-react.old/files/patch-src_META 1970-01-01 01:00:00.000000000 +0100
+++ ocaml-react/files/patch-src_META 2011-12-14 09:50:58.129111869 +0100
@@ -0,0 +1,7 @@
+--- src/META.orig 2011-12-14 09:50:28.517512351 +0100
++++ src/META 2011-12-14 09:50:32.213463093 +0100
+@@ -3,4 +3,3 @@
+ archive(byte) = "react.cmo"
+ archive(native) = "react.cmx"
+ archive(plugin,native) = "react.cmxs"
+-directory = "+react"
diff -Naur ocaml-react.old/pkg-plist ocaml-react/pkg-plist
--- ocaml-react.old/pkg-plist 2011-12-14 10:43:29.411463118 +0100
+++ ocaml-react/pkg-plist 2011-12-14 10:48:37.741289953 +0100
@@ -1,3 +1,4 @@
+ at comment $FreeBSD$
lib/ocaml/site-lib/react/META
lib/ocaml/site-lib/react/react.cmi
lib/ocaml/site-lib/react/react.cmo
--Boundary-00=_sGH6OCMHSAzhodU--
More information about the freebsd-ports-bugs
mailing list