aboutsummaryrefslogtreecommitdiff
path: root/ftp/ocaml-ocurl
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2014-12-22 09:49:46 +0000
committerJohan van Selst <johans@FreeBSD.org>2014-12-22 09:49:46 +0000
commit69210a6e5476123a7b69560b7aad1e9412532f5f (patch)
tree5d2bf5e22dcc2ae79747986d82f86779f40bd1e1 /ftp/ocaml-ocurl
parent4a19da7af950fd5aee03d4a723472ca13f433048 (diff)
downloadports-69210a6e5476123a7b69560b7aad1e9412532f5f.tar.gz
ports-69210a6e5476123a7b69560b7aad1e9412532f5f.zip
- Update ocurl to 0.7.2
- Use new master site
Notes
Notes: svn path=/head/; revision=375222
Diffstat (limited to 'ftp/ocaml-ocurl')
-rw-r--r--ftp/ocaml-ocurl/Makefile14
-rw-r--r--ftp/ocaml-ocurl/distinfo4
-rw-r--r--ftp/ocaml-ocurl/pkg-descr2
-rw-r--r--ftp/ocaml-ocurl/pkg-plist2
4 files changed, 12 insertions, 10 deletions
diff --git a/ftp/ocaml-ocurl/Makefile b/ftp/ocaml-ocurl/Makefile
index d3616c762e28..6e8b429be376 100644
--- a/ftp/ocaml-ocurl/Makefile
+++ b/ftp/ocaml-ocurl/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= ocurl
-PORTVERSION= 0.5.3
-PORTREVISION= 3
+PORTVERSION= 0.7.2
CATEGORIES= ftp
-MASTER_SITES= SF
+MASTER_SITES= https://forge.ocamlcore.org/frs/download.php/1463/
PKGNAMEPREFIX= ocaml-
MAINTAINER= johans@FreeBSD.org
@@ -13,12 +12,10 @@ COMMENT= Interface for OCaml to the curl lib
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
-RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
- ocamlfind:${PORTSDIR}/devel/ocaml-findlib
+RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
-WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= gmake tar:tgz
+USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-findlib"
MAKE_JOBS_UNSAFE= yes
@@ -28,4 +25,7 @@ USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
OCAML_PKGDIRS= curl
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curl/dllcurl-helper.so
+
.include <bsd.port.mk>
diff --git a/ftp/ocaml-ocurl/distinfo b/ftp/ocaml-ocurl/distinfo
index aa4b3299c1af..adc1782e98c8 100644
--- a/ftp/ocaml-ocurl/distinfo
+++ b/ftp/ocaml-ocurl/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ocurl-0.5.3.tgz) = 1823c22a71e4fae2622a7df3689509751fda8c46af08c9ea3707e40b23665705
-SIZE (ocurl-0.5.3.tgz) = 87849
+SHA256 (ocurl-0.7.2.tar.gz) = 39635fbd1fcef20f9fd31e4f590061efc19813be4d99033bb6486d5ede70c77a
+SIZE (ocurl-0.7.2.tar.gz) = 108530
diff --git a/ftp/ocaml-ocurl/pkg-descr b/ftp/ocaml-ocurl/pkg-descr
index 451181b8892d..9f6e3e1c5f0f 100644
--- a/ftp/ocaml-ocurl/pkg-descr
+++ b/ftp/ocaml-ocurl/pkg-descr
@@ -3,4 +3,4 @@ programming language Ocaml to the networking library
libcurl. Currently Ocurl requires libcurl 7.9.8 or newer (using older
versions may yield compilation errors).
-WWW: http://sourceforge.net/projects/ocurl
+WWW: http://ocurl.forge.ocamlcore.org/
diff --git a/ftp/ocaml-ocurl/pkg-plist b/ftp/ocaml-ocurl/pkg-plist
index 38d4eb2254a4..609f2673785e 100644
--- a/ftp/ocaml-ocurl/pkg-plist
+++ b/ftp/ocaml-ocurl/pkg-plist
@@ -3,4 +3,6 @@
%%OCAML_SITELIBDIR%%/curl/curl.cma
%%OCAML_SITELIBDIR%%/curl/curl.cmi
%%OCAML_SITELIBDIR%%/curl/curl.cmxa
+%%OCAML_SITELIBDIR%%/curl/curl.mli
+%%OCAML_SITELIBDIR%%/curl/dllcurl-helper.so
%%OCAML_SITELIBDIR%%/curl/libcurl-helper.a