Prune devel/py-EnthoughtBase
[dports.git] / devel / ocaml-sexplib / Makefile
1 # Created by: Stanislav Sedov <ssedov@mbsd.msk.ru>
2 # $FreeBSD$
3
4 PORTNAME=       sexplib
5 PORTVERSION=    111.03.00
6 CATEGORIES=     devel
7 MASTER_SITES=   https://ocaml.janestreet.com/ocaml-core/${PORTVERSION}/individual/
8 PKGNAMEPREFIX=  ocaml-
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        OCaml library for working with S-expressions
12
13 LICENSE=        APACHE20 BSD3CLAUSE
14 LICENSE_COMB=   multi
15
16 BUILD_DEPENDS=  ocaml-type-conv>0:${PORTSDIR}/devel/ocaml-typeconv
17 RUN_DEPENDS=    ocaml-type-conv>0:${PORTSDIR}/devel/ocaml-typeconv
18
19 USE_OCAML=      yes
20 USE_OCAML_FINDLIB=yes
21 USE_OCAML_CAMLP4=yes
22 USE_OCAMLFIND_PLIST=yes
23 OCAML_PKGDIRS=  ${PORTNAME} ${PORTNAME}_num ${PORTNAME}_unix
24
25 USES=           gmake
26 HAS_CONFIGURE=  yes
27 CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs
28 MAKE_JOBS_UNSAFE=       yes
29
30 DOCSDIR=        ${OCAML_DOCSDIR}/${PORTNAME}
31
32 PORTDOCS=       *
33
34 OPTIONS_DEFINE= DOCS
35
36 post-install:
37         @${MKDIR} ${STAGEDIR}${DOCSDIR}
38 .for i in CHANGES.txt README.md
39         (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
40 .endfor
41
42 .include <bsd.port.mk>