mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
- Instead of USE_OCAML=yes use USES=ocaml. If empty USES=ocaml implies build and run - Instead of USE_OCAMLFIND_PLIST use USES=ocaml:findplist which also implies USES=ocaml:findlib - Instead of USE_OCAML_CAMLP4 use USES=ocaml:camlp4 - Instead of USE_OCAML_FINDLIB use USES=ocaml:findlib - Instead of USE_OCAML_LDCONFIG use USES=ocaml:ldconfig - Instead of USE_OCAML_WASH use USES=ocaml:wash - Instead of NO_OCAML_BUILDDEPENDS use USES=ocaml:run - Instead of NO_OCAML_RUNDDEPENDS use USES=ocaml:build - Instead of USE_OCAML_TK use USES=ocaml:tk which actually implies USES=ocaml:tkbuild and USES=ocaml:tkrun - Instead of NO_OCAMLTK_BUILDDEPENDS use USES=ocaml:tkrun - Instead of NO_OCAMLTK_RUNDEPENDS use USES=ocaml:tkbuild - USES=ocaml:dune remains unchanged - Prepare to add/remove keywords easily Approved by: mat (portmgr) Reviewed by: freebsd@dev.thsi.be Differential Revision: https://reviews.freebsd.org/D48227
28 lines
930 B
Makefile
28 lines
930 B
Makefile
PORTNAME= react
|
|
PORTVERSION= 1.2.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://erratique.ch/software/react/releases/
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= OCaml module for functional reactive programming
|
|
WWW= https://erratique.ch/software/react
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild
|
|
RUN_DEPENDS= cppo:devel/ocaml-cppo
|
|
|
|
USES= ocaml:findplist,ldconfig tar:tbz
|
|
|
|
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>
|