PORTNAME= ssl PORTVERSION= 0.5.13 CATEGORIES= security devel PKGNAMEPREFIX= ocaml- MAINTAINER= danfe@FreeBSD.org COMMENT= OpenSSL bindings for OCaml WWW= https://github.com/savonet/ocaml-ssl LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= dune:devel/ocaml-dune USES= ssl USE_GITHUB= yes GH_ACCOUNT= savonet GH_PROJECT= ocaml-ssl USE_OCAML= yes DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES do-build: cd ${BUILD_WRKSRC} && dune build -p ${PORTNAME} -j ${MAKE_JOBS_NUMBER} do-install: cd ${INSTALL_WRKSRC} && dune install --destdir=${STAGEDIR} \ --libdir=${PREFIX}/${OCAML_SITELIBDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include