devel/jna 5.10.0_1 MidnightBSD
Java access to native shared libraries
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- Apache-2.0, lgpl2.1
- Categories
- devel, java
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
The newest version among them is 5.18.1, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/jna | 5.10.0_1 | no data | - | [email protected] | - |
| FreeBSD | devel/jna | 5.15.0_4 | none known | - | [email protected] | - |
| OpenBSD | java/jna by name | 5.18.1p0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-10-15 |
| DragonFly | devel/jna | 5.15.0_2 | none known | - | [email protected] | - |
| HardenedBSD | devel/jna | 5.15.0_4 | no data | - | [email protected] | - |
| GhostBSD | devel/jna | 5.15.0_4 | no data | - | [email protected] | - |
Install
Binary package:
mport install jna
From mports:
cd /usr/mports/devel/jna && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= jna>0:devel/jna
Dependencies
As this port's Makefile names them.
Build 1
makeinfo: print/texinfo
Build dependencies 1
Configuration
Options name: devel_jna
| Option | Default | Description |
|---|---|---|
| DOCS | off |
- USES
- autoreconf:build gmake java:ant libtool xorg
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| java-native-access-jna-5.10.0_GH0.tar.gz | 1.06258319e+08 | 6ef63cbf6ff7c8eea7d72331958e79c9fd3635c987ce419c9f296db6c4fd66a4 |