BSD Ports

devel/jna 5.15.0_4 FreeBSD

Java access to native shared libraries

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20, LGPL21+
Categories
devel, java
Package size
18284.1 KiB, 70762.8 KiB installed

Description

JNA provides Java programs easy access to native shared libraries without writing anything but Java code - no JNI or native code is required. This functionality is comparable to Windows' Platform/Invoke and Python's ctypes. Access is dynamic at runtime without code generation.

JNA allows you to call directly into native functions using natural Java method invocation. The Java call looks just like it does in native code. Most calls require no special handling or configuration; no boilerplate or generated code is required.

In the other systems

SystemPortVersion
FreeBSDdevel/jna5.15.0_4
OpenBSDjava/jna5.18.1p0
DragonFlydevel/jna5.15.0_2
MidnightBSDdevel/jna5.10.0_1

Install

Binary package:

pkg install jna

From the ports tree:

cd /usr/ports/devel/jna/ && make install clean

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

RUN_DEPENDS=	jna>0:devel/jna

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:latest5.15.0_45.15.0_4-5.15.0_25.15.0_4
FreeBSD:14:quarterly5.15.0_45.15.0_4n/a5.15.0_25.15.0_4
FreeBSD:15:latest5.15.0_45.15.0_4n/a5.15.0_25.15.0_2
FreeBSD:15:quarterly5.15.0_45.15.0_4n/an/an/a
FreeBSD:16:latest5.15.0_45.15.0_4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

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

Build dependencies 66
Run dependencies 8

Configuration

Options name: devel_jna

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
autoreconf:build gmake java:ant libtool xorg
Service scripts
none

Files

distinfo 1
FileSizeSHA256
java-native-access-jna-5.15.0-0a33062e1971962ca6b283c397ed1de5cc053d33_GH0.tar.gz1.16285127e+0862b56a76574ab94705f50051b96ff16c0db18bd19e0c106bc6b2141437604a8d

Commit history 0

No commits in the history this site was built from.