source: trunk/dports/java/jsr305/Portfile

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

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.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1012 bytes
Line 
1# $Id: Portfile 73637 2010-11-20 10:16:14Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    jsr305
6version                 0.01
7categories              java
8platforms               darwin
9maintainers             blair
10description             JSR 305: annotations for software defect detection
11
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.
16
17homepage                http://code.google.com/p/jsr-305/
18
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
23
24depends_lib             bin:java:kaffe
25
26use_configure           no
27
28build { }
29
30destroot {
31        set javadir ${destroot}${prefix}/share/java
32
33        xinstall -d -m 755 ${javadir}
34
35        file copy ${workpath}/${name}.jar ${javadir}/
36}
Note: See TracBrowser for help on using the repository browser.