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

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

google-guava: new upstream r09 release.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 77655 2011-04-08 01:01:18Z blair@macports.org $
2
3PortSystem 1.0
4
5name                    google-guava
6set real_version        09
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 cc267a70d45a5954f92d361649c85d7f \
27                        sha1 687f3aab924464579673c3cede157eff06a3eb72 \
28                        rmd160 7eac46b87b8d9aff12917f2008714810285b66f3
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.