# $Id: Portfile 39677 2008-08-29 18:16:52Z blair@macports.org $ PortSystem 1.0 name jna version 3.0.5 categories java platforms darwin maintainers blair 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. homepage https://jna.dev.java.net/ master_sites ${homepage}source/browse/*checkout*/${name}/tags/${version}/jnalib/dist/ distfiles ${name}.jar fetch.ignore_sslcert yes extract.only checksums md5 834c3daa2b50d0a5b01d1069f1f113f5 \ sha1 1fee9c01201a83a3f00cff10c07289b13599a16e \ rmd160 a6e610e6c130e95119d6748177d0533aa42bdeb5 depends_lib bin:java:kaffe use_configure no build { } destroot { set javadir ${destroot}${prefix}/share/java xinstall -d -m 755 ${javadir} file copy ${distpath}/${name}.jar ${javadir}/ }