source: trunk/dports/java/google-guava/Portfile @ 97512

Last change on this file since 97512 was 97512, checked in by blair@…, 8 years ago

google-guava: between version 10.0.0 and 13.0.0 Guava switched to Java 1.6+.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
RevLine 
[47837]1# $Id: Portfile 97512 2012-09-07 18:20:38Z blair@macports.org $
2
3PortSystem 1.0
4
[68380]5name                    google-guava
[97511]6version                 13.0.1
[62192]7categories              java
8platforms               darwin
9maintainers             blair
[97512]10description             Google's core libraries for Java 1.6
[68380]11long_description        Google Guava replaces and includes Google Collections \
12                        plus many other important core libraries.  It is a \
13                        strict, backward-compatible superset of the Google \
14                        Collections Library.  It also includes six months \
15                        worth of bug fixes, documetnation fixes, and \
16                        performance fixes, so it is strongly encouraged to \
17                        instead of Google Collections.
[47837]18
[68380]19homepage                http://code.google.com/p/guava-libraries/
[47837]20
[86531]21depends_lib             bin:java:kaffe
[47837]22
[86531]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
[47837]30
[86531]31checksums               guava-${version}.jar \
[97511]32                        sha1 0d6f22b1e60a2f1ef99e22c9f5fde270b2088365 \
33                        rmd160 02855a27ffc659c3bd0a834b7023e9da08bcfc85 \
34                        sha256 feb4b5b2e79a63b72ec47a693b1cf35cf1cea1f60a2bb2615bf21f74c7a60bb0 \
[86531]35                        guava-${version}-javadoc.jar \
[97511]36                        sha1 adb5f5700edd5a7cba8f3121e9d58884cea8cd50 \
37                        rmd160 c6ad3b2c04452eda9d248e1af77f4d2064be08cb \
38                        sha256 0ee2e83e7b54ebb6633423e554c22508a2e7bcc9769607d13e5182b99d801a0e
[47837]39
[62192]40use_configure           no
[47837]41
42build { }
43
44destroot {
[62192]45        set javadir ${destroot}${prefix}/share/java
46        set docdir ${destroot}${prefix}/share/doc/${name}
[47837]47
[86531]48        xinstall -d ${docdir} ${javadir}
[47837]49
[86531]50        file copy ${distpath}/guava-${version}.jar \
[68380]51                ${javadir}/google-guava.jar
[86531]52        file copy ${workpath}/api ${docdir}
[47837]53}
Note: See TracBrowser for help on using the repository browser.