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

Last change on this file was 67681, checked in by blair@…, 7 years ago

Collapse two xinstall's into one and remove a parameter that
specifices the default. Partially resolves #24901.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 67681 2010-05-16 02:40:53Z ryandesign@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
23distname                google-collect-${version}
24use_zip                 yes
25
26checksums               md5 bb2cd98cfd1676d965d22e27eeebd7cf \
27                        sha1 880bce3810c92e7dcdbdfdb03dfc5aa7460da76b \
28                        rmd160 db126eaf895ffa4006109fb638a114e3d0cf0776
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}/google-collect-${version}.jar \
43                ${javadir}/google-collect.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.