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

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

New upstream r08 release.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 75523 2011-01-28 19:15:11Z blair@macports.org $
2
3PortSystem 1.0
4
5name                    google-guava
6set real_version        08
7version                 0.beta.${real_version}
8categories              java
9platforms               darwin
10maintainers             blair
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.
19
20homepage                http://code.google.com/p/guava-libraries/
21
22master_sites            http://guava-libraries.googlecode.com/files
23distname                guava-r${real_version}
24use_zip                 yes
25
26checksums               md5 b73fe1bb5f443993adcf8b274f6a48b2 \
27                        sha1 d0effbb04c3ff1d64a39bef43c5197684546b16c \
28                        rmd160 25c756d4c9740560bce062af967633b4fd380fb6
29
30depends_lib             bin:java:kaffe
31
32use_configure           no
33
34build { }
35
36destroot {
37        set javadir ${destroot}${prefix}/share/java
38        set docdir ${destroot}${prefix}/share/doc/${name}
39
40        xinstall -d ${docdir}/api ${javadir}
41
42        file copy ${worksrcpath}/guava-r${real_version}.jar \
43                ${javadir}/google-guava.jar
44        file copy ${worksrcpath}/COPYING ${docdir}
45        file copy ${worksrcpath}/javadoc ${docdir}/api
46}
Note: See TracBrowser for help on using the repository browser.