33 lines
966 B
Makefile
33 lines
966 B
Makefile
# Created by: Jaap Boender <jaapb@kerguelen.org>
|
|
|
|
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= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild
|
|
|
|
USES= tar:tbz
|
|
USE_OCAML= yes
|
|
|
|
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>
|