Deprecated: 20 years old, does not build with jdk11+, not actively maintained, no users in the tree, forked(?) to https://github.com/aclemons/java-readline
Expires: 2026-10-28
devel/libreadline-java 0.8.0_10 FreeBSD
JNI wrapper around GNU Readline / libedit / libgetline
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
0a0ca753ff- Categories
- devel, java
- Package size
- 26.4 KiB, 66.5 KiB installed
Description
Java-Readline is a port of GNU Readline for Java. Or, to be more precise, it is a JNI-wrapper to Readline. It is distributed under the LGPL.
You must call Readline.load(ReadlineLibrary lib); before using any other methods. If you omit the call to the load()-method, the pure Java fallback solution is used. Possible values for lib are:
ReadlineLibrary.PureJava ReadlineLibrary.GnuReadline ReadlineLibrary.Editline ReadlineLibrary.Getline
Note that all programs using GnuReadline will fall under the GPL, since Gnu-Readline is GPL software!
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/libreadline-java | 0.8.0_10 |
| DragonFly | devel/libreadline-java | 0.8.0_7 |
Install
Binary package:
pkg install libreadline-java
From the ports tree:
cd /usr/ports/devel/libreadline-java/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libreadline-java>0:devel/libreadline-java
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.8.0_10 | 0.8.0_10 | 0.8.0_7 | 0.8.0_7 | 0.8.0_10 |
| FreeBSD:14:quarterly | 0.8.0_10 | 0.8.0_10 | n/a | 0.8.0_7 | 0.8.0_10 |
| FreeBSD:15:latest | 0.8.0_10 | 0.8.0_10 | n/a | 0.8.0_7 | 0.8.0_7 |
| FreeBSD:15:quarterly | 0.8.0_10 | 0.8.0_10 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.8.0_10 | 0.8.0_10 | 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 32
- archivers/brotli
- audio/alsa-lib
- devel/gettext-runtime
- devel/gmake
- devel/libedit
- devel/libinotify
- devel/readline
- graphics/giflib
- graphics/png
- java/java-zoneinfo
- java/javavmwrapper
- java/openjdk8
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/dejavu
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrender
- x11/libXtst
- x11/libxcb
- x11/xorgproto
Run dependencies 31
- archivers/brotli
- audio/alsa-lib
- devel/gettext-runtime
- devel/libedit
- devel/libinotify
- devel/readline
- graphics/giflib
- graphics/png
- java/java-zoneinfo
- java/javavmwrapper
- java/openjdk8
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/dejavu
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrender
- x11/libXtst
- x11/libxcb
- x11/xorgproto
No port depends on this one.
Configuration
Options name: devel_libreadline-java
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- gmake java libedit ncurses readline
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libreadline-java-0.8.0-src.tar.gz | 77122 | cdcfd9910bfe2dca4cd08b2462ec05efee7395e9b9c3efcb51e85fa70548c890 |
Master sites 1
- SF/java-readline/java-readline/0.8.0