aboutsummaryrefslogtreecommitdiffstats
path: root/net/ocaml-netclient
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-10-03 22:00:01 +0800
committergarga <garga@FreeBSD.org>2005-10-03 22:00:01 +0800
commit7d65bd9d9784d7a50dc596a5d349d845d5c1cd77 (patch)
tree684e8605c1d2fc9445140a46a3e697b417679b0a /net/ocaml-netclient
parent113f46b06949021817d924e14001944f2ba62baf (diff)
downloadfreebsd-ports-gnome-7d65bd9d9784d7a50dc596a5d349d845d5c1cd77.tar.gz
freebsd-ports-gnome-7d65bd9d9784d7a50dc596a5d349d845d5c1cd77.tar.zst
freebsd-ports-gnome-7d65bd9d9784d7a50dc596a5d349d845d5c1cd77.zip
Add ocaml-netclient 0.91.1, a HTTP 1.0/1.1, FTP and Telnet client for
OCaml. PR: ports/86366 Submitted by: Denis Shaposhnikov <dsh@vlink.ru>
Diffstat (limited to 'net/ocaml-netclient')
-rw-r--r--net/ocaml-netclient/Makefile40
-rw-r--r--net/ocaml-netclient/distinfo2
-rw-r--r--net/ocaml-netclient/pkg-descr9
-rw-r--r--net/ocaml-netclient/pkg-plist148
4 files changed, 199 insertions, 0 deletions
diff --git a/net/ocaml-netclient/Makefile b/net/ocaml-netclient/Makefile
new file mode 100644
index 000000000000..48b88d126d0f
--- /dev/null
+++ b/net/ocaml-netclient/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: ocaml-netclient
+# Date created: Thu Aug 4 15:46:59 MSD 2005
+# Whom: Denis Shaposhnikov <dsh@vlink.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= netclient
+PORTVERSION= 0.91.1
+CATEGORIES= net
+MASTER_SITES= http://www.ocaml-programming.de/packages/
+PKGNAMEPREFIX= ocaml-
+
+MAINTAINER= dsh@vlink.ru
+COMMENT= A HTTP 1.0/1.1, FTP and Telnet client for OCaml
+
+BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
+ ocamlfind:${PORTSDIR}/devel/ocaml-findlib \
+ ${OCAML_SITELIBDIR}/netstring/netstring.a:${PORTSDIR}/www/ocaml-net \
+ ${OCAML_SITELIBDIR}/equeue/equeue.a:${PORTSDIR}/devel/ocaml-equeue
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_GMAKE= yes
+
+ALL_TARGET= all opt
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+
+OCAML_SITELIBDIR= ${LOCALBASE}/lib/ocaml/site-lib
+
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/ocaml-netclient/distinfo b/net/ocaml-netclient/distinfo
new file mode 100644
index 000000000000..8c58ac7c15e8
--- /dev/null
+++ b/net/ocaml-netclient/distinfo
@@ -0,0 +1,2 @@
+MD5 (netclient-0.91.1.tar.gz) = aa9ac43ea13e68b89f9cbfaa27b4c01e
+SIZE (netclient-0.91.1.tar.gz) = 169353
diff --git a/net/ocaml-netclient/pkg-descr b/net/ocaml-netclient/pkg-descr
new file mode 100644
index 000000000000..86c737df2215
--- /dev/null
+++ b/net/ocaml-netclient/pkg-descr
@@ -0,0 +1,9 @@
+Netclient includes:
+
+- A sophisticated HTTP 1.1 client (quite stable)
+- A Telnet client
+- An experimental FTP client
+
+All clients are multiplexing-aware, and can be used concurrently.
+
+WWW: http://www.ocaml-programming.de/programming/netclient.html
diff --git a/net/ocaml-netclient/pkg-plist b/net/ocaml-netclient/pkg-plist
new file mode 100644
index 000000000000..bfe0b18db6ea
--- /dev/null
+++ b/net/ocaml-netclient/pkg-plist
@@ -0,0 +1,148 @@
+lib/ocaml/site-lib/netclient/META
+lib/ocaml/site-lib/netclient/ftp_client.cmi
+lib/ocaml/site-lib/netclient/ftp_client.mli
+lib/ocaml/site-lib/netclient/ftp_data_endpoint.cmi
+lib/ocaml/site-lib/netclient/ftp_data_endpoint.mli
+lib/ocaml/site-lib/netclient/http_client.cmi
+lib/ocaml/site-lib/netclient/http_client.mli
+lib/ocaml/site-lib/netclient/http_client_mt.cmi
+lib/ocaml/site-lib/netclient/http_client_mt.cmo
+lib/ocaml/site-lib/netclient/http_client_mt.cmx
+lib/ocaml/site-lib/netclient/http_client_mt.mli
+lib/ocaml/site-lib/netclient/http_client_mt.o
+lib/ocaml/site-lib/netclient/netclient.a
+lib/ocaml/site-lib/netclient/netclient.cma
+lib/ocaml/site-lib/netclient/netclient.cmxa
+lib/ocaml/site-lib/netclient/telnet_client.cmi
+lib/ocaml/site-lib/netclient/telnet_client.mli
+%%EXAMPLESDIR%%/simple/http_download.ml
+%%EXAMPLESDIR%%/simple/http_get.ml
+%%EXAMPLESDIR%%/simple/http_pipeline.ml
+%%EXAMPLESDIR%%/simple/telnet.ml
+%%EXAMPLESDIR%%/spider/Makefile
+%%EXAMPLESDIR%%/spider/agent.ml
+%%EXAMPLESDIR%%/spider/database.ml
+%%EXAMPLESDIR%%/spider/database.mli
+%%EXAMPLESDIR%%/spider/html.ml
+%%EXAMPLESDIR%%/spider/main.ml
+%%EXAMPLESDIR%%/spider/parse.ml
+%%EXAMPLESDIR%%/spider/parse.mli
+%%EXAMPLESDIR%%/spider/scan.ml
+%%EXAMPLESDIR%%/spider/scan.mll
+%%EXAMPLESDIR%%/telnet_labltk/Makefile
+%%EXAMPLESDIR%%/telnet_labltk/main.ml
+%%EXAMPLESDIR%%/telnet_labltk/telnet.ml
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_client.connect_method.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_client.ftp_client.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_client.ftp_client_pi.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_client.ftp_method.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_client.get_method.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_client.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_client.login_method.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_data_endpoint.data_converter.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_data_endpoint.ftp_data_engine.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_data_endpoint.ftp_data_receiver.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_data_endpoint.ftp_data_sender.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_data_endpoint.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_data_endpoint.in_record_channel.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_data_endpoint.out_record_channel.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_data_endpoint.read_in_record_channel.html
+%%PORTDOCS%%%%DOCSDIR%%/Ftp_data_endpoint.write_out_record_channel.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.Convenience.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.auth_handler.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.auth_session.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.basic_auth_handler.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.basic_auth_method.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.delete.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.delete_call.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.digest_auth_handler.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.digest_auth_method.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.generic_call.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.get.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.get_call.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.head.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.head_call.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.http_call.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.key.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.key_handler.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.key_ring.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.options.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.options_call.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.pipeline.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.post.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.post_call.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.post_raw.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.put.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.put_call.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.trace.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client.trace_call.html
+%%PORTDOCS%%%%DOCSDIR%%/Http_client_mt.html
+%%PORTDOCS%%%%DOCSDIR%%/Telnet_client.html
+%%PORTDOCS%%%%DOCSDIR%%/Telnet_client.telnet_session.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/index_attributes.html
+%%PORTDOCS%%%%DOCSDIR%%/index_class_types.html
+%%PORTDOCS%%%%DOCSDIR%%/index_classes.html
+%%PORTDOCS%%%%DOCSDIR%%/index_exceptions.html
+%%PORTDOCS%%%%DOCSDIR%%/index_methods.html
+%%PORTDOCS%%%%DOCSDIR%%/index_module_types.html
+%%PORTDOCS%%%%DOCSDIR%%/index_modules.html
+%%PORTDOCS%%%%DOCSDIR%%/index_types.html
+%%PORTDOCS%%%%DOCSDIR%%/index_values.html
+%%PORTDOCS%%%%DOCSDIR%%/style.css
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_client.connect_method.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_client.ftp_client.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_client.ftp_client_pi.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_client.ftp_method.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_client.get_method.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_client.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_client.login_method.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_data_endpoint.data_converter.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_data_endpoint.ftp_data_engine.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_data_endpoint.ftp_data_receiver.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_data_endpoint.ftp_data_sender.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_data_endpoint.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_data_endpoint.in_record_channel.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_data_endpoint.out_record_channel.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_data_endpoint.read_in_record_channel.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Ftp_data_endpoint.write_out_record_channel.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.Convenience.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.auth_handler.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.auth_session.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.basic_auth_handler.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.basic_auth_method.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.delete.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.delete_call.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.digest_auth_handler.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.digest_auth_method.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.generic_call.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.get.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.get_call.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.head.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.head_call.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.http_call.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.key.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.key_handler.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.key_ring.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.options.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.options_call.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.pipeline.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.post.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.post_call.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.post_raw.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.put.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.put_call.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.trace.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client.trace_call.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Http_client_mt.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Telnet_client.html
+%%PORTDOCS%%%%DOCSDIR%%/type_Telnet_client.telnet_session.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%EXAMPLESDIR%%/simple
+@dirrm %%EXAMPLESDIR%%/spider
+@dirrm %%EXAMPLESDIR%%/telnet_labltk
+@dirrm %%EXAMPLESDIR%%
+@dirrm lib/ocaml/site-lib/netclient
+@unexec ocamlfind remove netclient 2>/dev/null || true