blob: 643d1d73d15080659e553c3a3c2f1c215e816646 (
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
34
35
36
37
|
PORTNAME= cryptokit
PORTVERSION= 1.19
CATEGORIES= security
PKGNAMEPREFIX= ocaml-
MAINTAINER= danfe@FreeBSD.org
COMMENT= Variety of cryptographic primitives for Objective Caml
WWW= https://github.com/xavierleroy/cryptokit
LICENSE= LGPL20+ # with a special exception to clause 6
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/zarith/META:math/ocaml-zarith
RUN_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/zarith/META:math/ocaml-zarith
USES= ocaml:dune,ldconfig
USE_GITHUB= yes
GH_ACCOUNT= xavierleroy
GH_TAGNAME= release${PORTVERSION:S/.//g}
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USE_BINUTILS= yes
.endif
post-install:
@${STRIP_CMD} \
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/cryptokit/dllcryptokit_stubs.so \
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/cryptokit/cryptokit.cmxs
.include <bsd.port.mk>
|