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

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

google-guava: update to the latest 13.0.1 release.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 97511 2012-09-07 18:09:23Z blair@macports.org $
2
3PortSystem 1.0
4
5name                    google-guava
6version                 13.0.1
7categories              java
8platforms               darwin
9maintainers             blair
10description             Google's core libraries for Java 1.5
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.
18
19homepage                http://code.google.com/p/guava-libraries/
20
21depends_lib             bin:java:kaffe
22
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
30
31checksums               guava-${version}.jar \
32                        sha1 0d6f22b1e60a2f1ef99e22c9f5fde270b2088365 \
33                        rmd160 02855a27ffc659c3bd0a834b7023e9da08bcfc85 \
34                        sha256 feb4b5b2e79a63b72ec47a693b1cf35cf1cea1f60a2bb2615bf21f74c7a60bb0 \
35                        guava-${version}-javadoc.jar \
36                        sha1 adb5f5700edd5a7cba8f3121e9d58884cea8cd50 \
37                        rmd160 c6ad3b2c04452eda9d248e1af77f4d2064be08cb \
38                        sha256 0ee2e83e7b54ebb6633423e554c22508a2e7bcc9769607d13e5182b99d801a0e
39
40use_configure           no
41
42build { }
43
44destroot {
45        set javadir ${destroot}${prefix}/share/java
46        set docdir ${destroot}${prefix}/share/doc/${name}
47
48        xinstall -d ${docdir} ${javadir}
49
50        file copy ${distpath}/guava-${version}.jar \
51                ${javadir}/google-guava.jar
52        file copy ${workpath}/api ${docdir}
53}
Note: See TracBrowser for help on using the repository browser.