# $Id: Portfile 75523 2011-01-28 19:15:11Z blair@macports.org $ PortSystem 1.0 name google-guava set real_version 08 version 0.beta.${real_version} categories java platforms darwin maintainers blair description Google's core libraries for Java 1.5 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/ master_sites http://guava-libraries.googlecode.com/files distname guava-r${real_version} use_zip yes checksums md5 b73fe1bb5f443993adcf8b274f6a48b2 \ sha1 d0effbb04c3ff1d64a39bef43c5197684546b16c \ rmd160 25c756d4c9740560bce062af967633b4fd380fb6 depends_lib bin:java:kaffe use_configure no build { } destroot { set javadir ${destroot}${prefix}/share/java set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir}/api ${javadir} file copy ${worksrcpath}/guava-r${real_version}.jar \ ${javadir}/google-guava.jar file copy ${worksrcpath}/COPYING ${docdir} file copy ${worksrcpath}/javadoc ${docdir}/api }