blob: 503ce580dcfda323d6bb29ac09c0786a33b05c2e (
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
|
PORTNAME= dune
PORTVERSION= 1.11.4
CATEGORIES= devel
PKGNAMEPREFIX= ocaml-
MAINTAINER= danfe@FreeBSD.org
COMMENT= Composable build system for OCaml (formerly jbuilder)
WWW= https://dune.build/
LICENSE= MIT
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= ocaml
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
CONFLICTS_INSTALL= wdune
ALL_TARGET= release
MAKE_ENV= LIBDIR="${OCAML_SITELIBDIR}"
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
PORTDOCS= *.md
OPTIONS_DEFINE= DOCS
post-patch:
# FreeBSD-specific hack, do not nag upstream (for now)
@${REINPLACE_CMD} -e '/let doc_root/ \
s:"doc:"${OCAML_DOCSDIR:S,^${PREFIX}/,,}:' \
${WRKSRC}/src/install.ml
.include <bsd.port.mk>
|