source: trunk/dports/java/google-collections/Portfile @ 61374

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

New upstream 1.0-rc5 release.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 61374 2009-12-09 21:49:11Z blair@macports.org $
2
3PortSystem 1.0
4
5name                    google-collections
6version                 20090211.1.0.5
7set real_version        1.0-rc5
8categories              java
9platforms               darwin
10maintainers             blair
11description             Suite of new collections and collection-related classes.
12
13long_description        The Google Collections Library is a suite of new \
14                        collections and collection-related goodness for \
15                        Java 5.0, brought to you by Google.  This library \
16                        is a natural extension of the Java Collections \
17                        Framework you already know and love.  The major new \
18                        types are: BiMap, Multiset, Multimap and Ordering.
19
20homepage                http://code.google.com/p/google-collections/
21
22master_sites            googlecode
23distfiles               google-collect-${real_version}.zip
24distname                google-collect-${real_version}
25use_zip                 yes
26
27checksums               md5 d654f571562f8cdbbed55d0372965c5e \
28                        sha1 2ccdccf57366a0302ab7ba08c888800ac4f2349b \
29                        rmd160 a7bfcc0f3ba23e078418a54c0337f65227687f11
30
31depends_lib             bin:java:kaffe
32
33use_configure           no
34
35build { }
36
37destroot {
38        set javadir ${destroot}${prefix}/share/java
39        set docdir ${destroot}${prefix}/share/doc/${name}
40
41        xinstall -d -m 755 ${javadir}
42        xinstall -d -m 755 ${docdir}/api
43
44        file copy ${worksrcpath}/google-collect-${real_version}.jar \
45                ${javadir}/google-collect.jar
46        file copy ${worksrcpath}/COPYING ${docdir}
47        file copy ${worksrcpath}/javadoc ${docdir}/api
48}
Note: See TracBrowser for help on using the repository browser.