ftp/ocaml-ocurl: Update to 0.8.2
While here, assign maintainer to submitter PR: 230446 Submitted by: Nathan <ndowens@yahoo.com>
This commit is contained in:
parent
467834e59c
commit
d19bfbb151
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477326
@ -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,8 +19,10 @@ 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
|
||||
@ -26,23 +30,24 @@ 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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user