source: trunk/dports/java/commons-dbcp/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.2 KB
Line 
1# $Id: Portfile 20315 2006-11-01 22:23:03Z blair@macports.org $
2
3PortSystem 1.0
4
5name                            commons-dbcp
6version                         1.2.1
7
8categories                      java
9maintainers                     jberry@macports.org
10platforms                       darwin
11
12description                     Jakarta Commons-DBCP
13long_description        Commons-DBCP provides database connection pooling services.
14homepage                        http://jakarta.apache.org/commons/dbcp/
15                               
16distname                        ${name}-${version}-src
17master_sites            apache:jakarta/commons/dbcp/source/
18checksums                       md5 b7336a1d34ea0e8e9c39b67af510c46d
19
20depends_build           bin:ant:apache-ant
21depends_lib                     bin:java:kaffe \
22                                        port:junit \
23                                        port:commons-collections \
24                                        port:commons-pool
25
26use_configure           no
27
28worksrcdir                      ${name}-${version}
29
30build.cmd                       ant
31build.target            dist
32build.args                      -Djunit.jar=${prefix}/share/java/junit.jar \
33                                        -Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar \
34                                        -Dcommons-pool.jar=${prefix}/share/java/commons-pool.jar
35
36destroot        {
37        xinstall -m 755 -d ${destroot}${prefix}/share/java \
38                ${destroot}${prefix}/share/doc
39        xinstall -m 644 \
40                ${worksrcpath}/dist/commons-dbcp.jar \
41                ${destroot}${prefix}/share/java/
42        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
43        file attributes ${destroot}${prefix}/share/doc/${name} -permissions goa+r
44}
Note: See TracBrowser for help on using the repository browser.