BSD Ports

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

SystemPortVersion
FreeBSDdevel/libreadline-java0.8.0_10
DragonFlydevel/libreadline-java0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.8.0_100.8.0_100.8.0_70.8.0_70.8.0_10
FreeBSD:14:quarterly0.8.0_100.8.0_10n/a0.8.0_70.8.0_10
FreeBSD:15:latest0.8.0_100.8.0_10n/a0.8.0_70.8.0_7
FreeBSD:15:quarterly0.8.0_100.8.0_10n/an/an/a
FreeBSD:16:latest0.8.0_100.8.0_10n/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 32
Run dependencies 31

No port depends on this one.

Configuration

Options name: devel_libreadline-java

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
gmake java libedit ncurses readline
Service scripts
none

Message after installing

To use readline-java add the file
/usr/local/share/java/classes/libreadline-java.jar
to your classpath!

===>   NOTICE:

The libreadline-java port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

20 years old, does not build with jdk11+, not actively maintained, no users in the tree, forked(?) to https://github.com/aclemons/java-readline.

It is scheduled to be removed on or after 2026-10-28.

Files

distinfo 1
FileSizeSHA256
libreadline-java-0.8.0-src.tar.gz77122cdcfd9910bfe2dca4cd08b2462ec05efee7395e9b9c3efcb51e85fa70548c890
Master sites 1
  • SF/java-readline/java-readline/0.8.0

Commit history 1

DateCommitCreditsLog message
0a0ca753ff Ronald Klop devel/libreadline-java: deprecate and expire
- no maintainer - forked(?) to github - version 0.8.0 on SF is 20+ years old - does not compile on jdk11+ - debian has a patch, but we need a maintainer to do this IMHO https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897530 https://salsa.debian.org/java-team/libreadline-java/-/commit/8fb882cd77c2a9f09b3f1ef644659a84e0758331 Approved-by: no maintainer