source: trunk/dports/java/trove4j/Portfile @ 75062

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

Changed trove4j port to install jar into standard location

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 75062 2011-01-13 21:59:34Z singingwolfboy@macports.org $
2
3PortSystem 1.0
4
5name            trove4j
6version         2.1.0
7revision        1
8categories      java
9platforms       darwin
10maintainers     singingwolfboy openmaintainer
11description     high performance collections for Java objects and primitive types
12long_description    ${description}
13
14homepage        http://trove4j.sourceforge.net/
15master_sites    sourceforge
16distname        trove-${version}
17checksums       md5     09375a0b74eb8560270331239d2f94c3 \
18                sha1    9306850b8105e7342d7dbdcc14cd86be55ca9bd8 \
19                rmd160  fb0e96585c552821a0912a40855d486db31a6d56
20
21depends_build   bin:ant:apache-ant
22use_configure   no
23build.cmd       ant
24build.target    dist
25
26destroot    {
27    set docdir ${destroot}${prefix}/share/doc/${worksrcdir}
28    xinstall -m 755 -d ${destroot}${prefix}/share/java \
29        ${docdir}
30    xinstall -m 644 ${worksrcpath}/output/dist/${worksrcdir}/lib/trove-${version}.jar \
31        ${destroot}${prefix}/share/java/trove.jar
32    xinstall -m 644 -W ${worksrcpath}/output/dist/${worksrcdir}/ \
33        AUTHORS ChangeLog LICENSE.txt README-license.txt README.txt \
34        ${docdir}
35    file copy ${worksrcpath}/output/dist/${worksrcdir}/javadocs \
36        ${docdir}
37}
Note: See TracBrowser for help on using the repository browser.