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

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

Upgrade to the 1.0 final release of Google Collections. Need to use
an epoch number to go from a 20090211.1.0.5 version to version 1.0.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 62191 2009-12-30 22:39:29Z blair@macports.org $
2
3PortSystem 1.0
4
5name                    google-collections
6epoch                   1
7version                 1.0
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-${version}.zip
24distname                google-collect-${version}
25use_zip                 yes
26
27checksums               md5 bb2cd98cfd1676d965d22e27eeebd7cf \
28                        sha1 880bce3810c92e7dcdbdfdb03dfc5aa7460da76b \
29                        rmd160 db126eaf895ffa4006109fb638a114e3d0cf0776
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-${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.