java/jextract g20260826
Generate Java bindings from native library headers
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
0bb4cd46bf- License
- GPLv2
- Categories
- java, devel
- Package size
- 398.8 KiB, 457.5 KiB installed
Description
jextract is a tool which mechanically generates Java bindings from native library headers. This tools leverages the clang C API in order to parse the headers associated with a given native library, and the generated Java bindings build upon the Foreign Function & Memory API.
Install
As a binary package — by origin, or by package name:
pkg install java/jextract
pkg install jextract
From the ports tree:
cd /usr/ports/java/jextract/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= jextract>0:java/jextract
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 | g20260826 | g20260826 | - | - | - |
| FreeBSD:14:quarterly | g20260826 | g20260826 | n/a | - | - |
| FreeBSD:15:latest | g20260826 | g20260826 | n/a | - | - |
| FreeBSD:15:quarterly | g20260826 | g20260826 | n/a | n/a | n/a |
| FreeBSD:16:latest | g20260826 | g20260826 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
gradle: devel/gradle
The full lists below include those, and their dependencies in turn.
All build dependencies 56
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- audio/alsa-lib
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/gradle
- devel/libffi
- devel/libinotify
- devel/llvm19
- 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
- java/openjdk25
- 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
All run dependencies 32
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- audio/alsa-lib
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/llvm19
- 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/openjdk25
- lang/python312
- lang/python315
- math/mpdecimal
- print/freetype2
- print/harfbuzz
- print/indexinfo
- textproc/expat2
- x11-fonts/fontconfig
No port depends on this one.
Configuration
No options to configure.
- USES
- java llvm:build,run
- Service scripts
- none
Files
pkg-plist 2
- bin/jextract
- %%JAVAJARDIR%%/org.openjdk.jextract.jar
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| openjdk-jextract-g20260826-2aaa694aa6d241f4704f5ac69c1f8d898e7cfcc8_GH0.tar.gz | 299287 | 13a539e7b557a3615786be1ec357adfb35f53e60857fe51e0401b139026b2de9 |
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
0bb4cd46bf |
Igor Kolesnik | java/jextract: new port jextract is a tool which mechanically generates Java bindings from
native library headers. This tools leverages the clang C API in order
to parse the headers associated with a given native library, and the
generated Java bindings build upon the Foreign Function & Memory API.
Co-authored-by: Michael Osipov <[email protected]>
PR: 285159 |