From 37a8237406c316fd5d966d25cec1bcd8e4c85216 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 16 Mar 2007 11:57:30 +0000 Subject: [PATCH] ocaml-ssl is a set of OCaml bindings for openssl. WWW: http://savonet.sourceforge.net/wiki/OCamlLibs PR: ports/110303 Submitted by: Jaap Boender --- security/Makefile | 1 + security/ocaml-ssl/Makefile | 52 ++++++++++++++++++++++++++++++++++++ security/ocaml-ssl/distinfo | 3 +++ security/ocaml-ssl/pkg-descr | 3 +++ security/ocaml-ssl/pkg-plist | 17 ++++++++++++ 5 files changed, 76 insertions(+) create mode 100644 security/ocaml-ssl/Makefile create mode 100644 security/ocaml-ssl/distinfo create mode 100644 security/ocaml-ssl/pkg-descr create mode 100644 security/ocaml-ssl/pkg-plist diff --git a/security/Makefile b/security/Makefile index 2d6d2bb48bc4..849853ee959e 100644 --- a/security/Makefile +++ b/security/Makefile @@ -287,6 +287,7 @@ SUBDIR += nss SUBDIR += ocaml-cryptgps SUBDIR += ocaml-cryptokit + SUBDIR += ocaml-ssl SUBDIR += oidentd SUBDIR += oinkmaster SUBDIR += op diff --git a/security/ocaml-ssl/Makefile b/security/ocaml-ssl/Makefile new file mode 100644 index 000000000000..a42a33123029 --- /dev/null +++ b/security/ocaml-ssl/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: ocaml-ssl +# Date created: March 14, 2007 +# Whom: Jaap Boender +# +# $FreeBSD$ + +PORTNAME= ssl +PORTVERSION= 0.4.1 +CATEGORIES= security devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= savonet +PKGNAMEPREFIX= ocaml- +DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} + +MAINTAINER= jaapb@kerguelen.org +COMMENT= OpenSSL bindings for OCaml + +DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --docdir=${DOCSDIR} + +USE_OPENSSL= yes +USE_OCAML= yes +USE_OCAML_FINDLIB= yes +USE_OCAML_LDCONFIG= yes + +ALL_TARGET= all doc + +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif + +.include +.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk" + +post-extract: +# For nonstandard prefixes +.if !exists(${OCAMLFIND_DESTDIR}) + ${MKDIR} ${OCAMLFIND_DESTDIR} +.endif +.if !exists(${OCAMLFIND_LDCONF}) + ${TOUCH} ${OCAMLFIND_LDCONF} +.endif + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/html + ${INSTALL_MAN} ${WRKSRC}/doc/html/* ${DOCSDIR}/html +.endif + +.include diff --git a/security/ocaml-ssl/distinfo b/security/ocaml-ssl/distinfo new file mode 100644 index 000000000000..b7b941bb3d73 --- /dev/null +++ b/security/ocaml-ssl/distinfo @@ -0,0 +1,3 @@ +MD5 (ocaml-ssl-0.4.1.tar.gz) = 780c969a97e55c95d12b9a8e59688978 +SHA256 (ocaml-ssl-0.4.1.tar.gz) = bc1da3b6052ca92c2bc2d76b45ca33bb678246ca7453875d9a580f8e62d013f0 +SIZE (ocaml-ssl-0.4.1.tar.gz) = 109012 diff --git a/security/ocaml-ssl/pkg-descr b/security/ocaml-ssl/pkg-descr new file mode 100644 index 000000000000..5d577254a5f6 --- /dev/null +++ b/security/ocaml-ssl/pkg-descr @@ -0,0 +1,3 @@ +ocaml-ssl is a set of OCaml bindings for openssl. + +WWW: http://savonet.sourceforge.net/wiki/OCamlLibs diff --git a/security/ocaml-ssl/pkg-plist b/security/ocaml-ssl/pkg-plist new file mode 100644 index 000000000000..fff15d425658 --- /dev/null +++ b/security/ocaml-ssl/pkg-plist @@ -0,0 +1,17 @@ +%%OCAML_SITELIBDIR%%/ssl/dllssl_threads_stubs.so +%%OCAML_SITELIBDIR%%/ssl/dllssl_stubs.so +%%OCAML_SITELIBDIR%%/ssl/ssl_threads.a +%%OCAML_SITELIBDIR%%/ssl/ssl.a +%%OCAML_SITELIBDIR%%/ssl/libssl_threads_stubs.a +%%OCAML_SITELIBDIR%%/ssl/libssl_stubs.a +%%OCAML_SITELIBDIR%%/ssl/ssl_threads.cmxa +%%OCAML_SITELIBDIR%%/ssl/ssl.cmxa +%%OCAML_SITELIBDIR%%/ssl/ssl_threads.cma +%%OCAML_SITELIBDIR%%/ssl/ssl.cma +%%OCAML_SITELIBDIR%%/ssl/ssl_threads.cmi +%%OCAML_SITELIBDIR%%/ssl/ssl.cmi +%%OCAML_SITELIBDIR%%/ssl/ssl_threads.mli +%%OCAML_SITELIBDIR%%/ssl/ssl.mli +%%OCAML_SITELIBDIR%%/ssl/META +@dirrmtry share/doc/ocaml/ssl/html +@dirrmtry share/doc/ocaml/ssl