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

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

New upstream 1.4 release of commons-pool.

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