[73637] trunk/dports/java
blair at macports.org
blair at macports.org
Sat Nov 20 02:16:19 PST 2010
Revision: 73637
http://trac.macports.org/changeset/73637
Author: blair at macports.org
Date: 2010-11-20 02:16:14 -0800 (Sat, 20 Nov 2010)
Log 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.
Modified Paths:
--------------
trunk/dports/java/jsr305/Portfile
Added Paths:
-----------
trunk/dports/java/jsr305/
Modified: trunk/dports/java/jsr305/Portfile
===================================================================
--- trunk/dports/java/jna/Portfile 2010-11-20 10:03:55 UTC (rev 73636)
+++ trunk/dports/java/jsr305/Portfile 2010-11-20 10:16:14 UTC (rev 73637)
@@ -2,36 +2,25 @@
PortSystem 1.0
-name jna
-version 3.2.7
+name jsr305
+version 0.01
categories java
platforms darwin
maintainers blair
-description Access to native shared libraries with pure Java code
+description JSR 305: annotations for software defect detection
-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.
+long_description JSR 305 contains reference implementations, test \
+ cases, and other documents under source code control \
+ for Java Specification Request 305: Annotations for \
+ Software Defect Detection.
-homepage https://jna.dev.java.net/
+homepage http://code.google.com/p/jsr-305/
-master_sites ${homepage}source/browse/*checkout*/${name}/tags/${version}/jnalib/dist/
-distfiles ${name}.jar
-fetch.ignore_sslcert yes
-extract.only
+# Use the jar file from Google Guava.
+fetch.type svn
+svn.url http://guava-libraries.googlecode.com/svn/trunk/lib/${name}.jar
+svn.revision 2
-checksums md5 56c4d32d08c89a93159259e0da38d9db \
- sha1 4f25aa7292f70e721a9b96a6ed49365ba6e03eab \
- rmd160 93a01009c06ee9821f9677930634211a8ca9e666
-
depends_lib bin:java:kaffe
use_configure no
@@ -43,5 +32,5 @@
xinstall -d -m 755 ${javadir}
- file copy ${distpath}/${name}.jar ${javadir}/
+ file copy ${workpath}/${name}.jar ${javadir}/
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101120/318bf9c7/attachment.html>
More information about the macports-changes
mailing list