Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2018 12:25:29 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477326 - head/ftp/ocaml-ocurl
Message-ID:  <201808161225.w7GCPTdK050575@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Aug 16 12:25:28 2018
New Revision: 477326
URL: https://svnweb.freebsd.org/changeset/ports/477326

Log:
  ftp/ocaml-ocurl: Update to 0.8.2
  
  While here, assign maintainer to submitter
  
  PR:		230446
  Submitted by:	Nathan <ndowens@yahoo.com>

Modified:
  head/ftp/ocaml-ocurl/Makefile   (contents, props changed)
  head/ftp/ocaml-ocurl/distinfo   (contents, props changed)
  head/ftp/ocaml-ocurl/pkg-plist   (contents, props changed)

Modified: head/ftp/ocaml-ocurl/Makefile
==============================================================================
--- head/ftp/ocaml-ocurl/Makefile	Thu Aug 16 12:17:58 2018	(r477325)
+++ head/ftp/ocaml-ocurl/Makefile	Thu Aug 16 12:25:28 2018	(r477326)
@@ -2,14 +2,16 @@
 # $FreeBSD$
 
 PORTNAME=	ocurl
-PORTVERSION=	0.7.9
+PORTVERSION=	0.8.2
 CATEGORIES=	ftp
-MASTER_SITES=	http://ygrek.org.ua/p/release/ocurl/
 PKGNAMEPREFIX=	ocaml-
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	ndowens@yahoo.com
 COMMENT=	Interface for OCaml to the curl lib
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 BUILD_DEPENDS=	ocamlc:lang/ocaml \
 		ocamlfind:devel/ocaml-findlib
 RUN_DEPENDS:=	${BUILD_DEPENDS}
@@ -17,32 +19,35 @@ LIB_DEPENDS=	libcurl.so:ftp/curl
 
 USES=		gmake
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+="--with-findlib"
-MAKE_JOBS_UNSAFE=	yes
+#CONFIGURE_ARGS+="--with-findlib"
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	ygrek
+
 USE_OCAML=		yes
 USE_OCAML_CAMLP4=	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:devel/ocaml-lwt
-LWT_BUILD_DEPENDS=${LWT_RUN_DEPENDS}
+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:devel/ocaml-lwt
+LWT_BUILD_DEPENDS=	${LWT_RUN_DEPENDS}
 
+post-install-LWT-on:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curl/curl_lwt.cmxs
+
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curl/dllcurl-helper.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curl/dllcurl-helper.so \
+		${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curl/curl.cmxs \
 
-.include <bsd.port.options.mk>
-
-.if ! ${PORT_OPTIONS:MLWT}
+post-configure-LWT-off:
 # Override auto-detection
-post-configure:
+
 	${REINPLACE_CMD} 's/(lwt,no)/(no,no)/' ${WRKSRC}/Makefile \
 		${WRKSRC}/examples/Makefile
-.endif
 
 .include <bsd.port.mk>

Modified: head/ftp/ocaml-ocurl/distinfo
==============================================================================
--- head/ftp/ocaml-ocurl/distinfo	Thu Aug 16 12:17:58 2018	(r477325)
+++ head/ftp/ocaml-ocurl/distinfo	Thu Aug 16 12:25:28 2018	(r477326)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1476625190
-SHA256 (ocurl-0.7.9.tar.gz) = 36a0103cf062ea2c5685a1615295cf765e49495adfcc620e4c17443e46b5a65e
-SIZE (ocurl-0.7.9.tar.gz) = 108242
+TIMESTAMP = 1533686147
+SHA256 (ygrek-ocurl-0.8.2_GH0.tar.gz) = dcbadbdf97830de04a68454571bec9592c7f7be135bf1a1a5d8f8aa35c28ed24
+SIZE (ygrek-ocurl-0.8.2_GH0.tar.gz) = 111713

Modified: head/ftp/ocaml-ocurl/pkg-plist
==============================================================================
--- head/ftp/ocaml-ocurl/pkg-plist	Thu Aug 16 12:17:58 2018	(r477325)
+++ head/ftp/ocaml-ocurl/pkg-plist	Thu Aug 16 12:25:28 2018	(r477326)
@@ -6,6 +6,8 @@
 %%OCAML_SITELIBDIR%%/curl/curl.cmti
 %%OCAML_SITELIBDIR%%/curl/curl.cmx
 %%OCAML_SITELIBDIR%%/curl/curl.cmxa
+%%OCAML_SITELIBDIR%%/curl/curl.cmxs
+%%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.cmxs
 %%OCAML_SITELIBDIR%%/curl/curl.mli
 %%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.cmi
 %%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.cmo



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