Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2015 10:55:29 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386513 - in head/devel/ocaml-lwt: . files
Message-ID:  <201505161055.t4GAtThB094318@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sat May 16 10:55:28 2015
New Revision: 386513
URL: https://svnweb.freebsd.org/changeset/ports/386513

Log:
  - Update ocaml-lwt to 2.4.8, now from Github
  - Disable react support (broken)
  - Adopt port

Deleted:
  head/devel/ocaml-lwt/files/
Modified:
  head/devel/ocaml-lwt/Makefile
  head/devel/ocaml-lwt/distinfo

Modified: head/devel/ocaml-lwt/Makefile
==============================================================================
--- head/devel/ocaml-lwt/Makefile	Sat May 16 10:06:43 2015	(r386512)
+++ head/devel/ocaml-lwt/Makefile	Sat May 16 10:55:28 2015	(r386513)
@@ -2,21 +2,20 @@
 # $FreeBSD$
 
 PORTNAME=	lwt
-PORTVERSION=	2.4.3
-PORTREVISION=	2
+PORTVERSION=	2.4.8
 CATEGORIES=	devel
-MASTER_SITES=	http://ocsigen.org/download/
 PKGNAMEPREFIX=	ocaml-
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	johans@stack.nl
 COMMENT=	Cooperative threading library for OCaml
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	ocsigen
+
 LICENSE=	LGPL21
 
-BUILD_DEPENDS=		${SA_DIR}/react/react.a:${PORTSDIR}/devel/ocaml-react \
-			${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl
-RUN_DEPENDS=		${SA_DIR}/react/react.a:${PORTSDIR}/devel/ocaml-react \
-			${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl
+BUILD_DEPENDS=		${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl
+RUN_DEPENDS=		${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl
 
 MAKE_JOBS_UNSAFE=	yes
 
@@ -31,28 +30,17 @@ HAS_CONFIGURE=		yes
 CONFIGURE_ARGS=		--destdir "${STAGEDIR}" \
 			--prefix "${PREFIX}" \
 			--enable-ssl \
-			--enable-react \
+			--disable-react \
 			--disable-libev \
 			--disable-glib
 
 DOCSDIR=		${PREFIX}/share/doc/ocaml/${PORTNAME}
 SA_DIR=         	${PREFIX}/${OCAML_SITELIBDIR}
 
-OPTIONS_DEFINE=		TOPLEVEL DOCS
-OPTIONS_DEFAULT=	TOPLEVEL
-TOPLEVEL_DESC=		Include enhanced OCaml toplevel
+OPTIONS_DEFINE=		DOCS
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MTOPLEVEL}
-CONFIGURE_ARGS+=	--enable-toplevel --enable-text
-BUILD_DEPENDS+=		${SA_DIR}/text/text.a:${PORTSDIR}/textproc/ocaml-text
-RUN_DEPENDS+=		${SA_DIR}/text/text.a:${PORTSDIR}/textproc/ocaml-text
-PLIST_FILES=		bin/lwt-toplevel
-.else
-CONFIGURE_ARGS+=	--disable-toplevel --disable-text
-.endif
-
 .if ${PORT_OPTIONS:MDOCS}
 CONFIGURE_ARGS+=	--enable-docs --docdir ${STAGEDIR}${DOCSDIR}
 # For some reason, ocaml-text is needed when building documentation
@@ -67,15 +55,15 @@ post-patch:
 		${WRKSRC}/setup.ml
 
 do-configure:
-	(cd ${WRKSRC}; ocaml setup.ml -configure ${CONFIGURE_ARGS})
+	cd ${WRKSRC}; ocaml setup.ml -configure ${CONFIGURE_ARGS}
 	@${REINPLACE_CMD} -e 's%"-lev"%"-lev -L${PREFIX}/lib/ev -Wl,-R${PREFIX}/lib/ev"%' \
 		${WRKSRC}/setup.data
 
 do-build:
-	(cd ${WRKSRC}; ocaml setup.ml -build)
+	cd ${WRKSRC}; ocaml setup.ml -build
 
 do-install:
 	${MKDIR} ${STAGEDIR}${SA_DIR}
-	(cd ${WRKSRC}; ocaml setup.ml -install)
+	cd ${WRKSRC}; ocaml setup.ml -install
 
 .include <bsd.port.mk>

Modified: head/devel/ocaml-lwt/distinfo
==============================================================================
--- head/devel/ocaml-lwt/distinfo	Sat May 16 10:06:43 2015	(r386512)
+++ head/devel/ocaml-lwt/distinfo	Sat May 16 10:55:28 2015	(r386513)
@@ -1,2 +1,2 @@
-SHA256 (lwt-2.4.3.tar.gz) = efee23937750290d6dee96eed6c0bbdb19817d5be6eefcba61ac5031fac10107
-SIZE (lwt-2.4.3.tar.gz) = 504000
+SHA256 (ocsigen-lwt-2.4.8_GH0.tar.gz) = cada92a1c7ce9c678adc67dfa0a8c51f582358e99bbe839ece2decd6866cfa38
+SIZE (ocsigen-lwt-2.4.8_GH0.tar.gz) = 262232



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505161055.t4GAtThB094318>