# $Id: Portfile 97513 2012-09-07 18:21:25Z blair@macports.org $ PortSystem 1.0 name google-guava version 13.0.1 categories java license Apache-2 platforms darwin maintainers blair description Google's core libraries for Java 1.6 long_description Google Guava replaces and includes Google Collections \ plus many other important core libraries. It is a \ strict, backward-compatible superset of the Google \ Collections Library. It also includes six months \ worth of bug fixes, documetnation fixes, and \ performance fixes, so it is strongly encouraged to \ instead of Google Collections. homepage http://code.google.com/p/guava-libraries/ depends_lib bin:java:kaffe master_sites "http://search.maven.org/remotecontent?filepath=com/google/guava/guava/${version}" distfiles guava-${version}.jar \ guava-${version}-javadoc.jar extract.cmd unzip extract.pre_args -q extract.post_args "-d ${workpath}/api" extract.only guava-${version}-javadoc.jar checksums guava-${version}.jar \ sha1 0d6f22b1e60a2f1ef99e22c9f5fde270b2088365 \ rmd160 02855a27ffc659c3bd0a834b7023e9da08bcfc85 \ sha256 feb4b5b2e79a63b72ec47a693b1cf35cf1cea1f60a2bb2615bf21f74c7a60bb0 \ guava-${version}-javadoc.jar \ sha1 adb5f5700edd5a7cba8f3121e9d58884cea8cd50 \ rmd160 c6ad3b2c04452eda9d248e1af77f4d2064be08cb \ sha256 0ee2e83e7b54ebb6633423e554c22508a2e7bcc9769607d13e5182b99d801a0e use_configure no build { } destroot { set javadir ${destroot}${prefix}/share/java set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} ${javadir} file copy ${distpath}/guava-${version}.jar \ ${javadir}/google-guava.jar file copy ${workpath}/api ${docdir} }