BSD Ports

devel/ocaml-camljava 0.5_2 FreeBSD

OCaml-Java library interface

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2
Categories
devel, java
Package size
53.8 KiB, 216.2 KiB installed

Description

This is a very preliminary release of CamlJava, an OCaml/Java interface based on the following schema:

     Caml/C interface       JNI (Java Native Interface)

Caml <------------------> C <-----------------------------> Java

Currently, CamlJava provides a low-level, weakly-typed OCaml interface very similar to the JNI. Java object references are mapped to an abstract type, and various JNI-like operations are provided to allow Java method invocation, field access, and more. A basic callback facility (allowing Java code to invoke methods on Caml objects) is also provided, although some stub Java code must be written by hand.

In the future, a higher-level, strongly-typed interface will be provided, whereas Java classes are mapped directly to Caml classes. This raises fairly delicate type mapping issues, though, so don't hold your breath.

In the other systems

SystemPortVersion
FreeBSDdevel/ocaml-camljava0.5_2
DragonFlydevel/ocaml-camljava0.5

Install

Binary package:

pkg install ocaml-camljava

From the ports tree:

cd /usr/ports/devel/ocaml-camljava/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ocaml-camljava>0:devel/ocaml-camljava

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.5_20.5_20.3_30.50.5_2
FreeBSD:14:quarterly0.5_20.5_2n/a0.50.5_2
FreeBSD:15:latest0.5_20.5_2n/a0.50.5
FreeBSD:15:quarterly0.5_20.5_2n/an/an/a
FreeBSD:16:latest0.5_20.5_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 54
Run dependencies 54

No port depends on this one.

Configuration

No options to configure.

USES
java ocaml
Service scripts
none

Files

pkg-plist 7
  • lib/ocaml/site-lib/camljava/jni.cma
  • lib/ocaml/site-lib/camljava/jni.cmi
  • lib/ocaml/site-lib/camljava/jni.cmxa
  • lib/ocaml/site-lib/camljava/jni.a
  • lib/ocaml/site-lib/camljava/libcamljni.a
  • lib/ocaml/site-lib/camljava/jni.mli
  • lib/ocaml/site-lib/camljava/camljava.jar
distinfo 1
FileSizeSHA256
xavierleroy-camljava-0.5-camljava05_GH0.tar.gz16661a8c9ad6a0894d88dba705458da854026874d7bae31e29bda9e2ff4ae61bf02ee

Commit history 0

No commits in the history this site was built from.