Changeset 73637


Ignore:
Timestamp:
Nov 20, 2010, 10:16:14 AM (9 years ago)
Author:
blair@…
Message:

New port for the JSR 305 jar file downloaded from Google Guava. I
based this port off the jna port, but switched to using svn to get the
jar file.

Location:
trunk/dports/java/jsr305
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/jsr305/Portfile

    r73636 r73637  
    33PortSystem 1.0
    44
    5 name                    jna
    6 version                 3.2.7
     5name                    jsr305
     6version                 0.01
    77categories              java
    88platforms               darwin
    99maintainers             blair
    10 description             Access to native shared libraries with pure Java code
     10description             JSR 305: annotations for software defect detection
    1111
    12 long_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.
     12long_description        JSR 305 contains reference implementations, test \
     13                        cases, and other documents under source code control \
     14                        for Java Specification Request 305: Annotations for \
     15                        Software Defect Detection.
    2316
    24 homepage                https://jna.dev.java.net/
     17homepage                http://code.google.com/p/jsr-305/
    2518
    26 master_sites            ${homepage}source/browse/*checkout*/${name}/tags/${version}/jnalib/dist/
    27 distfiles               ${name}.jar
    28 fetch.ignore_sslcert    yes
    29 extract.only
    30 
    31 checksums               md5 56c4d32d08c89a93159259e0da38d9db \
    32                         sha1 4f25aa7292f70e721a9b96a6ed49365ba6e03eab \
    33                         rmd160 93a01009c06ee9821f9677930634211a8ca9e666
     19# Use the jar file from Google Guava.
     20fetch.type              svn
     21svn.url                 http://guava-libraries.googlecode.com/svn/trunk/lib/${name}.jar
     22svn.revision            2
    3423
    3524depends_lib             bin:java:kaffe
     
    4433        xinstall -d -m 755 ${javadir}
    4534
    46         file copy ${distpath}/${name}.jar ${javadir}/
     35        file copy ${workpath}/${name}.jar ${javadir}/
    4736}
Note: See TracChangeset for help on using the changeset viewer.