source: trunk/dports/java/commons-dbcp/Portfile @ 76428

Last change on this file since 76428 was 72252, checked in by jberry@…, 9 years ago

Drop maintainership of my recently ill-maintained java ports. I may still look in on them from time to time, but this feels better than to just ignore thme. Free to a good home.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 72252 2010-10-08 23:20:28Z jberry@macports.org $
2
3PortSystem 1.0
4
5name                            commons-dbcp
6version                         1.2.2
7
8categories                      java
9maintainers                     nomaintainer
10platforms                       darwin
11
12description                     Jakarta Commons-DBCP
13long_description        Commons-DBCP provides database connection pooling services.
14homepage                        http://commons.apache.org/dbcp/
15                               
16distname                        ${name}-${version}-src
17master_sites            apache:commons/dbcp/source/
18checksums                       md5 57bad7d2abfaa175c743521caccdbd8f
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}-src
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}
45
46platform darwin 10 {
47        build.args-append -Djavac.source=5
48        patchfiles-append patch-JDK-1.6.diff
49}
50
51livecheck.type  regex
52livecheck.url   http://commons.apache.org/downloads/download_dbcp.cgi
53livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.