# $Id: Portfile 73637 2010-11-20 10:16:14Z blair@macports.org $

PortSystem 1.0

name                    jsr305
version                 0.01
categories              java
platforms               darwin
maintainers             blair
description             JSR 305: annotations for software defect detection

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                http://code.google.com/p/jsr-305/

# 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

depends_lib             bin:java:kaffe

use_configure           no

build { }

destroot {
        set javadir ${destroot}${prefix}/share/java

        xinstall -d -m 755 ${javadir}

        file copy ${workpath}/${name}.jar ${javadir}/
}
