blob: 3f72a4455d527674f77d2df12a5b09d805f6110a (
plain)
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
38
39
40
41
42
|
# Created by: Jaap Boender <jaapb@kerguelen.org>
# $FreeBSD$
PORTNAME= js_of_ocaml
PORTVERSION= 2.5
CATEGORIES= lang
MAINTAINER= ports@FreeBSD.org
COMMENT= OCaml to JavaScript compiler
BUILD_DEPENDS= ocaml-lwt>=2.3.0:devel/ocaml-lwt \
menhir:devel/menhir \
${SA_DIR}/deriving-ocsigen/deriving.a:devel/ocaml-deriving-ocsigen \
${SA_DIR}/cmdliner/cmdliner.a:devel/ocaml-cmdliner
RUN_DEPENDS= ocaml-lwt>=2.3.0:devel/ocaml-lwt \
${SA_DIR}/deriving-ocsigen/deriving.a:devel/ocaml-deriving-ocsigen \
${SA_DIR}/cmdliner/cmdliner.a:devel/ocaml-cmdliner
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
USES= gmake
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
USE_OCAML_CAMLP4= yes
USE_OCAMLFIND_PLIST= yes
USE_GITHUB= yes
GH_ACCOUNT= ocsigen
PLIST_FILES+= bin/js_of_ocaml bin/jsoo_minify bin/jsoo_mkcmis \
bin/jsoo_mktop
MAKE_JOBS_UNSAFE= yes
MAKE_ENV+= BINDIR=${STAGEDIR}${PREFIX}/bin \
DESTDIR=${STAGEDIR} \
OCAML_SITELIBDIR=${PREFIX}/lib/ocaml/site-lib
post-patch:
@${REINPLACE_CMD} -e '/^BINDIR/d' ${WRKSRC}/Makefile.conf
.include <bsd.port.mk>
|