Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2013 10:32:24 GMT
From:      Jaap Boender <jaapb@kerguelen.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/176163: [new port] devel/js_of_ocaml (OCaml to JavaScript compiler)
Message-ID:  <201302151032.r1FAWObN071501@red.freebsd.org>
Resent-Message-ID: <201302151040.r1FAe02c075117@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176163
>Category:       ports
>Synopsis:       [new port] devel/js_of_ocaml (OCaml to JavaScript compiler)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 15 10:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jaap Boender
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD purcell.mdx.ac.uk 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
This is a new port, devel/js_of_ocaml, an OCaml to JavaScript compiler. It is needed for Eliom - a part of the Ocsigen web framework programming, the original port having been split. This needs the new version of lwt (submitted as ports/176061) and the new port devel/js_of_ocaml (submitted as ports/176162) I have tested it with ocaml 4 (ports/173364), but it should work with the version currently in ports as well.
>How-To-Repeat:
n/a
>Fix:
shar of port directory included.

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	js_of_ocaml
#	js_of_ocaml/Makefile
#	js_of_ocaml/distinfo
#	js_of_ocaml/pkg-descr
#
echo c - js_of_ocaml
mkdir -p js_of_ocaml > /dev/null 2>&1
echo x - js_of_ocaml/Makefile
sed 's/^X//' >js_of_ocaml/Makefile << '4cef69b610bc3c287b5efa175fdbea19'
X# New ports collection makefile for: js_of_ocaml
X# Date created: February 13, 2013
X# Whom: Jaap Boender <jaapb@kerguelen.org>
X#
X# $FreeBSD$
X
XPORTNAME=	js_of_ocaml
XPORTVERSION=	1.3.2
XCATEGORIES=	devel www
XMASTER_SITES=	http://ocsigen.org/download/
X
XMAINTAINER=	jaapb@kerguelen.org
XCOMMENT=	OCaml to JavaScript compiler
X
XBUILD_DEPENDS=	ocaml-lwt>=2.3.0:${PORTSDIR}/devel/ocaml-lwt \
X		${SA_DIR}/deriving-ocsigen/deriving.a:${PORTSDIR}/devel/ocaml-deriving-ocsigen
XRUN_DEPENDS=	ocaml-lwt>=2.3.0:${PORTSDIR}/devel/ocaml-lwt \
X		${SA_DIR}/deriving-ocsigen/deriving.a:${PORTSDIR}/devel/ocaml-deriving-ocsigen
X
XSA_DIR=		${PREFIX}/${OCAML_SITELIBDIR}
X
XUSE_OCAML=		yes
XUSE_OCAML_FINDLIB=	yes
XUSE_OCAML_LDCONFIG=	yes
XUSE_OCAMLFIND_PLIST=	yes
X
XPLIST_FILES+=		bin/js_of_ocaml
X
XUSE_GMAKE=	yes
X
X.include <bsd.port.mk>
4cef69b610bc3c287b5efa175fdbea19
echo x - js_of_ocaml/distinfo
sed 's/^X//' >js_of_ocaml/distinfo << '8b96a147e87db990952a9365ae1eab03'
XSHA256 (js_of_ocaml-1.3.2.tar.gz) = 5996d2a9bc32121186e1964af557bb411eb5a27aa155d2c6a8a144ee5f3d0c36
XSIZE (js_of_ocaml-1.3.2.tar.gz) = 1901593
8b96a147e87db990952a9365ae1eab03
echo x - js_of_ocaml/pkg-descr
sed 's/^X//' >js_of_ocaml/pkg-descr << 'ffa2fe1a1cb965ee3fab628e8149bb44'
XJs_of_ocaml is a compiler of OCaml bytecode to Javascript. It makes it possible
Xto run Ocaml programs in a Web browser.
X
XWWW: http://ocsigen.org/js_of_ocaml/
ffa2fe1a1cb965ee3fab628e8149bb44
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302151032.r1FAWObN071501>