source: trunk/dports/java/commons-pool/Portfile @ 86516

Last change on this file since 86516 was 86516, checked in by jmr@…, 9 years ago

commons-pool: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 86516 2011-10-27 00:46:48Z jmr@macports.org $
2
3PortSystem 1.0
4
5name                    commons-pool
6version                 1.5.4
7
8categories              java
9license                 Apache-2
10maintainers             nomaintainer
11platforms               darwin
12
13description             Jakarta Commons-Pool
14long_description        Commons-Pool provides a generic object pooling \
15                                interface, a toolkit for creating modular \
16                                object pools and several general purpose \
17                                pool implementations.
18homepage                http://commons.apache.org/pool/
19
20distname                ${name}-${version}-src
21master_sites            apache:commons/pool/source/
22
23checksums       md5     4216bb6eca49e7b3db9f287d7b0c0cd8 \
24                sha1    18279249c27fee5bdedeaff169b9d1b70d135839 \
25                rmd160  bb72683ef378e6e6741e6c6eea93b6077571edec
26
27depends_build           bin:ant:apache-ant
28depends_lib             bin:java:kaffe \
29                                port:junit
30
31use_configure           no
32
33worksrcdir              ${name}-${version}-src
34
35build.cmd               ant
36build.target            dist
37build.args              -Djunit.jar=${prefix}/share/java/junit.jar
38
39destroot        {
40        xinstall -d ${destroot}${prefix}/share/java \
41                ${destroot}${prefix}/share/doc
42        xinstall -m 644 ${worksrcpath}/dist/commons-pool.jar \
43                ${destroot}${prefix}/share/java/commons-pool.jar
44        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
45        file attributes ${destroot}${prefix}/share/doc/${name} -permissions goa+r
46}
47
48livecheck.type  regex
49livecheck.url   http://commons.apache.org/downloads/download_pool.cgi
50livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.