1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/lang/js_of_ocaml/Makefile
John Marino f41e7b9979 Add new Ocaml port: lang/js_of_ocaml
The initial version submitted in the PR was augmented by later changes
seen in pkgsrc where the counterpart is maintained by the submitter.

==
Js_of_ocaml is a compiler of OCaml bytecode to Javascript. It makes it
possible to run Ocaml programs in a Web browser.

WWW: http://ocsigen.org/js_of_ocaml/
==

PR:		ports/176163
Submitted by:	Jaap Boender
Maintainer:	Jaap Boender
Stage support:	Taken from pkgsrc
2014-03-27 12:29:54 +00:00

32 lines
839 B
Makefile

# Created by: Jaap Boender <jaapb@kerguelen.org>
# $FreeBSD$
PORTNAME= js_of_ocaml
PORTVERSION= 1.3.2
CATEGORIES= lang
MASTER_SITES= http://ocsigen.org/download/
MAINTAINER= jaapb@kerguelen.org
COMMENT= OCaml to JavaScript compiler
BUILD_DEPENDS= ocaml-lwt>=2.3.0:${PORTSDIR}/devel/ocaml-lwt \
${SA_DIR}/deriving-ocsigen/deriving.a:${PORTSDIR}/devel/ocaml-deriving-ocsigen
RUN_DEPENDS= ocaml-lwt>=2.3.0:${PORTSDIR}/devel/ocaml-lwt \
${SA_DIR}/deriving-ocsigen/deriving.a:${PORTSDIR}/devel/ocaml-deriving-ocsigen
SA_DIR= ${PREFIX}/${OCAML_SITELIBDIR}
USES= gmake
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
USE_OCAMLFIND_PLIST= yes
PLIST_FILES+= bin/js_of_ocaml
MAKE_ENV+= BINDIR=${STAGEDIR}${PREFIX}/bin \
DESTDIR=${STAGEDIR} \
OCAML_SITELIBDIR=${PREFIX}/lib/ocaml/site-lib
.include <bsd.port.mk>