Ignore:
Timestamp:
Oct 27, 2011, 4:57:09 PM (9 years ago)
Author:
blair@…
Message:

google-guava: update to 10.0.1:

  • use their new version number scheme so drop "0.beta"
  • use maven hosting, the only place to download jars now
  • extract javadocs into ${prefix}/share/doc/google-guava/api instead of ${prefix}/share/doc/google-guava/api/javadocs
File:
1 edited

Legend:

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

    r77655 r86531  
    44
    55name                    google-guava
    6 set real_version        09
    7 version                 0.beta.${real_version}
     6version                 10.0.1
    87categories              java
    98platforms               darwin
     
    2019homepage                http://code.google.com/p/guava-libraries/
    2120
    22 master_sites            http://guava-libraries.googlecode.com/files
    23 distname                guava-r${real_version}
    24 use_zip                 yes
     21depends_lib             bin:java:kaffe
    2522
    26 checksums               md5 cc267a70d45a5954f92d361649c85d7f \
    27                         sha1 687f3aab924464579673c3cede157eff06a3eb72 \
    28                         rmd160 7eac46b87b8d9aff12917f2008714810285b66f3
     23master_sites            "http://search.maven.org/remotecontent?filepath=com/google/guava/guava/${version}"
     24distfiles               guava-${version}.jar \
     25                        guava-${version}-javadoc.jar
     26extract.cmd             unzip
     27extract.pre_args        -q
     28extract.post_args       "-d ${workpath}/api"
     29extract.only            guava-${version}-javadoc.jar
    2930
    30 depends_lib             bin:java:kaffe
     31checksums               guava-${version}.jar \
     32                        md5 d05cd8b0a7ee4466994d64779eb28190 \
     33                        sha1 292c96f9cb18231528cac4b0bf17d28149d14809 \
     34                        rmd160 1b0916d7c04ed8e20fd3c6b2430d6efdae6060f1 \
     35                        guava-${version}-javadoc.jar \
     36                        md5 161d4b4ce51bdc8bfb7eb4d490dd04e6 \
     37                        sha1 45a2eedf88e80ef8036d3054920515d2793dbfd0 \
     38                        rmd160 c2a9f61c801a2811b219c06bce3e8017de1b3850
    3139
    3240use_configure           no
     
    3846        set docdir ${destroot}${prefix}/share/doc/${name}
    3947
    40         xinstall -d ${docdir}/api ${javadir}
     48        xinstall -d ${docdir} ${javadir}
    4149
    42         file copy ${worksrcpath}/guava-r${real_version}.jar \
     50        file copy ${distpath}/guava-${version}.jar \
    4351                ${javadir}/google-guava.jar
    44         file copy ${worksrcpath}/COPYING ${docdir}
    45         file copy ${worksrcpath}/javadoc ${docdir}/api
     52        file copy ${workpath}/api ${docdir}
    4653}
Note: See TracChangeset for help on using the changeset viewer.