# $Id: Portfile 35275 2008-03-23 15:54:42Z jberry@macports.org $ PortSystem 1.0 name commons-dbcp version 1.2.2 categories java maintainers jberry openmaintainer platforms darwin description Jakarta Commons-DBCP long_description Commons-DBCP provides database connection pooling services. homepage http://commons.apache.org/dbcp/ distname ${name}-${version}-src master_sites apache:commons/dbcp/source/ checksums md5 57bad7d2abfaa175c743521caccdbd8f depends_build bin:ant:apache-ant depends_lib bin:java:kaffe \ port:junit \ port:commons-collections \ port:commons-pool use_configure no worksrcdir ${name}-${version}-src build.cmd ant build.target dist build.args -Djunit.jar=${prefix}/share/java/junit.jar \ -Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar \ -Dcommons-pool.jar=${prefix}/share/java/commons-pool.jar destroot { xinstall -m 755 -d ${destroot}${prefix}/share/java \ ${destroot}${prefix}/share/doc xinstall -m 644 \ ${worksrcpath}/dist/commons-dbcp.jar \ ${destroot}${prefix}/share/java/ file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name} file attributes ${destroot}${prefix}/share/doc/${name} -permissions goa+r } livecheck.check regex livecheck.url http://commons.apache.org/downloads/download_dbcp.cgi livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"