summaryrefslogtreecommitdiff
path: root/security/ocaml-lwt_ssl/Makefile
blob: e144b06b256420c50758dfa68071afe4b83b4f11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PORTNAME=	lwt_ssl
PORTVERSION=	1.2.0
PORTREVISION=	2
CATEGORIES=	security
PKGNAMEPREFIX=	ocaml-

MAINTAINER=	freebsd@dev.thsi.be
COMMENT=	OpenSSL asynchronously cooperative bindings for OCaml
WWW=		https://github.com/ocsigen/lwt_ssl

LICENSE=	LGPL21+ # with a special exception to clause 6

BUILD_DEPENDS=	ocaml-lwt>=5.7.0:devel/ocaml-lwt \
		${SA_DIR}/ssl/META:security/ocaml-ssl
RUN_DEPENDS=	ocaml-lwt>=5.7.0:devel/ocaml-lwt \
		${SA_DIR}/ssl/META:security/ocaml-ssl

USES=		ocaml:dune
USE_GITHUB=	yes
GH_ACCOUNT=	ocsigen

DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME}
PORTDOCS=	CHANGES README.md

OPTIONS_DEFINE=	DOCS

SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}

post-install:
	@${STRIP_CMD} \
		${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/lwt_ssl.cmxs

.include <bsd.port.mk>