source: trunk/dports/java/jna/Portfile

Last change on this file was 73636, checked in by blair@…, 7 years ago

Convert from tabs to spaces.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 73636 2010-11-20 10:03:55Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    jna
6version                 3.2.7
7categories              java
8platforms               darwin
9maintainers             blair
10description             Access to native shared libraries with pure Java code
11
12long_description        Java Native Access provides Java programs easy \
13                        access to native shared libraries (DLLs on Windows) \
14                        without writing anything but Java code - no JNI or \
15                        native code is required.  This functionality is \
16                        comparable to Windows' Platform/Invoke and Python's \
17                        ctypes.  Access is dynamic at runtime without code \
18                        generation.  JNA's design aims to provide native \
19                        access in a natural way with a minimum of effort.  \
20                        No boilerplate or generated code is required.  While \
21                        some attention is paid to performance, correctness \
22                        and ease of use take priority.
23
24homepage                https://jna.dev.java.net/
25
26master_sites            ${homepage}source/browse/*checkout*/${name}/tags/${version}/jnalib/dist/
27distfiles               ${name}.jar
28fetch.ignore_sslcert    yes
29extract.only
30
31checksums               md5 56c4d32d08c89a93159259e0da38d9db \
32                        sha1 4f25aa7292f70e721a9b96a6ed49365ba6e03eab \
33                        rmd160 93a01009c06ee9821f9677930634211a8ca9e666
34
35depends_lib             bin:java:kaffe
36
37use_configure           no
38
39build { }
40
41destroot {
42        set javadir ${destroot}${prefix}/share/java
43
44        xinstall -d -m 755 ${javadir}
45
46        file copy ${distpath}/${name}.jar ${javadir}/
47}
Note: See TracBrowser for help on using the repository browser.