Revision: 68380 http://trac.macports.org/changeset/68380 Author: blair@macports.org Date: 2010-06-02 08:57:01 -0700 (Wed, 02 Jun 2010) Log Message: ----------- Add a new port for Google Guava, copied from the Goolge Collections port. Modified Paths: -------------- trunk/dports/java/google-guava/Portfile Added Paths: ----------- trunk/dports/java/google-guava/ Modified: trunk/dports/java/google-guava/Portfile =================================================================== --- trunk/dports/java/google-collections/Portfile 2010-06-02 14:47:58 UTC (rev 68379) +++ trunk/dports/java/google-guava/Portfile 2010-06-02 15:57:01 UTC (rev 68380) @@ -2,30 +2,30 @@ PortSystem 1.0 -name google-collections -epoch 1 -version 1.0 +name google-guava +set real_version 05 +version 0.beta.${real_version} categories java platforms darwin maintainers blair -description Suite of new collections and collection-related classes. +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. -long_description The Google Collections Library is a suite of new \ - collections and collection-related goodness for \ - Java 5.0, brought to you by Google. This library \ - is a natural extension of the Java Collections \ - Framework you already know and love. The major new \ - types are: BiMap, Multiset, Multimap and Ordering. +homepage http://code.google.com/p/guava-libraries/ -homepage http://code.google.com/p/google-collections/ - -master_sites googlecode -distname google-collect-${version} +master_sites http://guava-libraries.googlecode.com/files +distname guava-r${real_version} use_zip yes -checksums md5 bb2cd98cfd1676d965d22e27eeebd7cf \ - sha1 880bce3810c92e7dcdbdfdb03dfc5aa7460da76b \ - rmd160 db126eaf895ffa4006109fb638a114e3d0cf0776 +checksums md5 a8725616a4227087e4b2dbf969ff0a26 \ + sha1 61be6a1a0dd7e7fd6d004c1330fefedd2cda1b01 \ + rmd160 c3b9e9e36bb49a0d412e9195d1e71582cf6e5eba depends_lib bin:java:kaffe @@ -39,8 +39,8 @@ xinstall -d ${docdir}/api ${javadir} - file copy ${worksrcpath}/google-collect-${version}.jar \ - ${javadir}/google-collect.jar + file copy ${worksrcpath}/guava-r${real_version}.jar \ + ${javadir}/google-guava.jar file copy ${worksrcpath}/COPYING ${docdir} file copy ${worksrcpath}/javadoc ${docdir}/api }
participants (1)
-
blair@macports.org