Index: head/ftp/ocaml-ocurl/Makefile =================================================================== --- head/ftp/ocaml-ocurl/Makefile (revision 390471) +++ head/ftp/ocaml-ocurl/Makefile (revision 390472) @@ -1,33 +1,48 @@ # Created by: Marwan BURELLE # $FreeBSD$ PORTNAME= ocurl -PORTVERSION= 0.7.2 -PORTREVISION= 1 +PORTVERSION= 0.7.3 CATEGORIES= ftp -MASTER_SITES= https://forge.ocamlcore.org/frs/download.php/1463/ \ +MASTER_SITES= https://forge.ocamlcore.org/frs/download.php/1521/ \ http://ygrek.org.ua/p/release/ocurl/ PKGNAMEPREFIX= ocaml- MAINTAINER= johans@FreeBSD.org COMMENT= Interface for OCaml to the curl lib BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \ ocamlfind:${PORTSDIR}/devel/ocaml-findlib RUN_DEPENDS:= ${BUILD_DEPENDS} LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl USES= gmake GNU_CONFIGURE= yes CONFIGURE_ARGS+="--with-findlib" MAKE_JOBS_UNSAFE= yes USE_OCAML= yes USE_OCAML_FINDLIB= yes USE_OCAML_LDCONFIG= yes OCAML_PKGDIRS= curl +OPTIONS_DEFINE= LWT +OPTIONS_DEFAULT=LWT +OPTIONS_SUB= yes +LWT_DESC= Include threading support (ocaml-lwt) +LWT_RUN_DEPENDS=${LOCALBASE}/${OCAML_SITELIBDIR}/lwt/lwt.a:${PORTSDIR}/devel/ocaml-lwt +LWT_BUILD_DEPENDS=${LWT_RUN_DEPENDS} + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curl/dllcurl-helper.so + +.include + +.if ! ${PORT_OPTIONS:MLWT} +# Override auto-detection +post-configure: + ${REINPLACE_CMD} 's/(lwt,no)/(no,no)/' ${WRKSRC}/Makefile \ + ${WRKSRC}/examples/Makefile +.endif .include Index: head/ftp/ocaml-ocurl/distinfo =================================================================== --- head/ftp/ocaml-ocurl/distinfo (revision 390471) +++ head/ftp/ocaml-ocurl/distinfo (revision 390472) @@ -1,2 +1,2 @@ -SHA256 (ocurl-0.7.2.tar.gz) = 39635fbd1fcef20f9fd31e4f590061efc19813be4d99033bb6486d5ede70c77a -SIZE (ocurl-0.7.2.tar.gz) = 108530 +SHA256 (ocurl-0.7.3.tar.gz) = 7228acf91a0c521eb4db5c65638e525d8cb111206a88e9d754f1536fb4489523 +SIZE (ocurl-0.7.3.tar.gz) = 104619 Index: head/ftp/ocaml-ocurl/pkg-plist =================================================================== --- head/ftp/ocaml-ocurl/pkg-plist (revision 390471) +++ head/ftp/ocaml-ocurl/pkg-plist (revision 390472) @@ -1,8 +1,13 @@ %%OCAML_SITELIBDIR%%/curl/META %%OCAML_SITELIBDIR%%/curl/curl.a %%OCAML_SITELIBDIR%%/curl/curl.cma %%OCAML_SITELIBDIR%%/curl/curl.cmi %%OCAML_SITELIBDIR%%/curl/curl.cmxa %%OCAML_SITELIBDIR%%/curl/curl.mli +%%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.cmi +%%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.cmo +%%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.cmx +%%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.mli +%%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.o %%OCAML_SITELIBDIR%%/curl/dllcurl-helper.so %%OCAML_SITELIBDIR%%/curl/libcurl-helper.a