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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/ocaml-camljava | 0.5_2 |
| DragonFly | devel/ocaml-camljava | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.5_2 | 0.5_2 | 0.3_3 | 0.5 | 0.5_2 |
| FreeBSD:14:quarterly | 0.5_2 | 0.5_2 | n/a | 0.5 | 0.5_2 |
| FreeBSD:15:latest | 0.5_2 | 0.5_2 | n/a | 0.5 | 0.5 |
| FreeBSD:15:quarterly | 0.5_2 | 0.5_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.5_2 | 0.5_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- audio/alsa-lib
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-packaging
- devel/readline
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/png
- graphics/tiff
- java/javavmwrapper
- java/openjdk21
- lang/ocaml
- lang/python312
- lang/python315
- math/mpdecimal
- print/freetype2
- print/harfbuzz
- print/indexinfo
- textproc/expat2
- x11-fonts/dejavu
- x11-fonts/encodings
- x11-fonts/font-bh-ttf
- x11-fonts/font-misc-ethiopic
- x11-fonts/font-misc-meltho
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-fonts/xorg-fonts-truetype
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXtst
- x11/libxcb
- x11/xorgproto
Run dependencies 54
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- audio/alsa-lib
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-packaging
- devel/readline
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/png
- graphics/tiff
- java/javavmwrapper
- java/openjdk21
- lang/ocaml
- lang/python312
- lang/python315
- math/mpdecimal
- print/freetype2
- print/harfbuzz
- print/indexinfo
- textproc/expat2
- x11-fonts/dejavu
- x11-fonts/encodings
- x11-fonts/font-bh-ttf
- x11-fonts/font-misc-ethiopic
- x11-fonts/font-misc-meltho
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-fonts/xorg-fonts-truetype
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXtst
- x11/libxcb
- x11/xorgproto
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
| File | Size | SHA256 |
|---|---|---|
| xavierleroy-camljava-0.5-camljava05_GH0.tar.gz | 16661 | a8c9ad6a0894d88dba705458da854026874d7bae31e29bda9e2ff4ae61bf02ee |
Commit history 0
No commits in the history this site was built from.