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

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

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 20315 2006-11-01 22:23:03Z blair@macports.org $
2
3PortSystem 1.0
4
5name                            commons-pool
6version                         1.2
7revision                        1
8
9categories                      java
10maintainers                     jberry@macports.org
11platforms                       darwin
12
13description                     Jakarta Commons-Pool
14long_description        Commons-Pool provides a generic object pooling interface, \
15                                        a toolkit for creating modular object pools and several \
16                                        general purpose pool implementations.
17homepage                        http://jakarta.apache.org/commons/pool/
18
19distname                        ${name}-${version}-src
20master_sites            apache:jakarta/commons/pool/source/
21checksums                       md5 e7dc9f479c6a4260f84f6751b434295a
22
23depends_build           bin:ant:apache-ant
24depends_lib                     bin:java:kaffe \
25                                        port:junit \
26                                        port:commons-collections
27
28use_configure           no
29
30worksrcdir                      ${name}-${version}
31
32post-patch {
33        reinplace {s|<javac |<javac source="1.4" |} ${worksrcpath}/build.xml
34}
35
36build.cmd                       ant
37build.target            dist
38build.args                      -Djunit.jar=${prefix}/share/java/junit.jar \
39                                        -Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar
40
41destroot        {
42        xinstall -m 755 -d ${destroot}${prefix}/share/java \
43                ${destroot}${prefix}/share/doc
44        xinstall -m 644 ${worksrcpath}/dist/commons-pool.jar \
45                ${destroot}${prefix}/share/java/
46        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
47        file attributes ${destroot}${prefix}/share/doc/${name} -permissions goa+r
48}
Note: See TracBrowser for help on using the repository browser.