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

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

Indention cleanup.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 33973 2008-02-08 22:57:24Z blair@macports.org $
2
3PortSystem 1.0
4
5name                    commons-pool
6version                 1.3
7revision                1
8
9categories              java
10maintainers             jberry@macports.org openmaintainer
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/
22checksums               md5 a2dcdff75de2af76f5f2169494ed3499
23
24depends_build           bin:ant:apache-ant
25depends_lib             bin:java:kaffe \
26                                port:junit
27
28use_configure           no
29
30worksrcdir              ${name}-${version}-src
31
32build.cmd               ant
33build.target            dist
34build.args              -Djunit.jar=${prefix}/share/java/junit.jar
35
36destroot        {
37        xinstall -m 755 -d ${destroot}${prefix}/share/java \
38                ${destroot}${prefix}/share/doc
39        xinstall -m 644 ${worksrcpath}/dist/commons-pool-${version}.jar \
40                ${destroot}${prefix}/share/java/commons-pool.jar
41        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
42        file attributes ${destroot}${prefix}/share/doc/${name} -permissions goa+r
43}
44
45livecheck.check regex
46livecheck.url   http://commons.apache.org/downloads/download_pool.cgi
47livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.