PortSystem 1.0
PortGroup           java 1.0
PortGroup           github 1.0

github.setup            java-native-access jna 5.18.1
github.tarball_from     archive
revision                0
categories              java
license                 LGPL AL-2.0
maintainers             nomaintainer
description             Access to native shared libraries with pure Java code

long_description        Java Native Access provides Java programs easy \
                        access to native shared libraries (DLLs on Windows) \
                        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's design aims to provide native \
                        access in a natural way with a minimum of effort.  \
                        No boilerplate or generated code is required.  While \
                        some attention is paid to performance, correctness \
                        and ease of use take priority.

 checksums              rmd160  7fd81db8efe340781e3877e12595fe54db7fdbed \
                        sha256  9af4d468a8b94def8c08761780766e919a0806d636b4c2ac55be0afe94cb8bb9 \
                        size    117189568

depends_lib             bin:java:kaffe
depends_build	        bin:ant:apache-ant

use_configure           no


build.cmd               ant
build.target	        jar

destroot {
        xinstall -m 755 -d ${destroot}${prefix}/share/java
        
        xinstall -m 644 ${worksrcpath}/build/jna.jar \
            ${destroot}${prefix}/share/java/
}
