forked from Lainports/freebsd-ports
are unsafe by default, which is the main motivation why it was picked,
but not the very latest one) and synchronize the rest of the stack and
dependent ports with it, particularly:
- Update `devel/ocaml-ocamlbuild' to version 0.14.0 and unbreak,
register build dependency on all ports that require it (should
be part of USE_OCAML, but we do not want to make any Mk-related
changes the for time being)
- Update `devel/ocaml-camlp4' to version 4.05+2
- Update `devel/ocaml-camlp5' to version 7.07 (the project had
moved to GitHub)
- Mark `devel/ocaml-deriving-ocsigen' as BROKEN for now, it is
very outdated and requires quite a lot of work
- Update `x11-toolkits/ocaml-labltk' to version 8.06.3
PR: 218333
Exp-run by: antoine
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Jaap Boender <jaapb@kerguelen.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= react
|
|
PORTVERSION= 1.2.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://erratique.ch/software/react/releases/
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= OCaml module for functional reactive programming
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild
|
|
|
|
USES= tar:tbz
|
|
USE_OCAML= yes
|
|
OPTIONS_DEFINE= X11
|
|
OPTIONS_DEFAULT= X11
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if empty(PORT_OPTIONS:MX11)
|
|
OCAMLC_DEPEND= ocaml-notk>=3.11:${OCAMLC_PORT}
|
|
.else
|
|
OCAMLC_DEPEND= ocaml>=3.11:${OCAMLC_PORT}
|
|
.endif
|
|
|
|
USE_OCAML_FINDLIB= yes
|
|
USE_OCAMLFIND_PLIST= yes
|
|
USE_OCAML_LDCONFIG= yes
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ocamlbuild react.cmxs react.cma react.a
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${OCAMLFIND_DESTDIR}/react
|
|
cd ${WRKSRC} && ocamlfind install -destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib react pkg/META _build/src/react.a _build/src/react.cma _build/src/react.cmi _build/src/react.cmx _build/src/react.cmxa _build/src/react.cmxs _build/src/react.mli
|
|
${INSTALL_LIB} ${WRKSRC}/_build/src/react.cmxs \
|
|
${STAGEDIR}${OCAMLFIND_DESTDIR}/react
|
|
|
|
.include <bsd.port.mk>
|