Lines 1-6
Link Here
|
1 |
PORTNAME= ssl |
1 |
PORTNAME= ssl |
2 |
PORTVERSION= 0.5.13 |
2 |
PORTVERSION= 0.5.13 |
3 |
PORTREVISION= 1 |
3 |
PORTREVISION= 2 |
4 |
CATEGORIES= security devel |
4 |
CATEGORIES= security devel |
5 |
PKGNAMEPREFIX= ocaml- |
5 |
PKGNAMEPREFIX= ocaml- |
6 |
|
6 |
|
Lines 11-38
WWW= https://github.com/savonet/ocaml-ssl
Link Here
|
11 |
LICENSE= LGPL21+ |
11 |
LICENSE= LGPL21+ |
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
|
13 |
|
14 |
BUILD_DEPENDS= dune:devel/ocaml-dune |
14 |
USES= ocaml:dune ssl |
15 |
|
|
|
16 |
USES= ssl |
17 |
USE_GITHUB= yes |
15 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= savonet |
16 |
GH_ACCOUNT= savonet |
19 |
GH_PROJECT= ocaml-ssl |
17 |
GH_PROJECT= ocaml-ssl |
20 |
USE_OCAML= yes |
18 |
USE_OCAML= yes |
|
|
19 |
USE_OCAML_LDCONFIG= yes |
21 |
|
20 |
|
22 |
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} |
21 |
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} |
23 |
EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} |
22 |
EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} |
24 |
|
23 |
|
25 |
OPTIONS_DEFINE= DOCS EXAMPLES |
24 |
OPTIONS_DEFINE= DOCS EXAMPLES |
26 |
|
25 |
|
27 |
do-build: |
|
|
28 |
cd ${BUILD_WRKSRC} && dune build -p ${PORTNAME} -j ${MAKE_JOBS_NUMBER} |
29 |
|
30 |
do-install: |
31 |
cd ${INSTALL_WRKSRC} && dune install --destdir=${STAGEDIR} \ |
32 |
--libdir=${PREFIX}/${OCAML_SITELIBDIR} |
33 |
|
34 |
do-install-EXAMPLES-on: |
26 |
do-install-EXAMPLES-on: |
35 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
27 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
36 |
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} |
28 |
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} |
37 |
|
29 |
|
|
|
30 |
post-install: |
31 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/ssl/dllssl_stubs.so |
32 |
|
38 |
.include <bsd.port.mk> |
33 |
.include <bsd.port.mk> |