Changeset 68380 for trunk/dports/java


Ignore:
Timestamp:
Jun 2, 2010, 3:57:01 PM (9 years ago)
Author:
blair@…
Message:

Add a new port for Google Guava, copied from the Goolge Collections
port.

Location:
trunk/dports/java/google-guava
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/google-guava/Portfile

    r67681 r68380  
    33PortSystem 1.0
    44
    5 name                    google-collections
    6 epoch                   1
    7 version                 1.0
     5name                    google-guava
     6set real_version        05
     7version                 0.beta.${real_version}
    88categories              java
    99platforms               darwin
    1010maintainers             blair
    11 description             Suite of new collections and collection-related classes.
     11description             Google's core libraries for Java 1.5
     12long_description        Google Guava replaces and includes Google Collections \
     13                        plus many other important core libraries.  It is a \
     14                        strict, backward-compatible superset of the Google \
     15                        Collections Library.  It also includes six months \
     16                        worth of bug fixes, documetnation fixes, and \
     17                        performance fixes, so it is strongly encouraged to \
     18                        instead of Google Collections.
    1219
    13 long_description        The Google Collections Library is a suite of new \
    14                         collections and collection-related goodness for \
    15                         Java 5.0, brought to you by Google.  This library \
    16                         is a natural extension of the Java Collections \
    17                         Framework you already know and love.  The major new \
    18                         types are: BiMap, Multiset, Multimap and Ordering.
     20homepage                http://code.google.com/p/guava-libraries/
    1921
    20 homepage                http://code.google.com/p/google-collections/
    21 
    22 master_sites            googlecode
    23 distname                google-collect-${version}
     22master_sites            http://guava-libraries.googlecode.com/files
     23distname                guava-r${real_version}
    2424use_zip                 yes
    2525
    26 checksums               md5 bb2cd98cfd1676d965d22e27eeebd7cf \
    27                         sha1 880bce3810c92e7dcdbdfdb03dfc5aa7460da76b \
    28                         rmd160 db126eaf895ffa4006109fb638a114e3d0cf0776
     26checksums               md5 a8725616a4227087e4b2dbf969ff0a26 \
     27                        sha1 61be6a1a0dd7e7fd6d004c1330fefedd2cda1b01 \
     28                        rmd160 c3b9e9e36bb49a0d412e9195d1e71582cf6e5eba
    2929
    3030depends_lib             bin:java:kaffe
     
    4040        xinstall -d ${docdir}/api ${javadir}
    4141
    42         file copy ${worksrcpath}/google-collect-${version}.jar \
    43                 ${javadir}/google-collect.jar
     42        file copy ${worksrcpath}/guava-r${real_version}.jar \
     43                ${javadir}/google-guava.jar
    4444        file copy ${worksrcpath}/COPYING ${docdir}
    4545        file copy ${worksrcpath}/javadoc ${docdir}/api
Note: See TracChangeset for help on using the changeset viewer.