# $Id: Portfile 24558 2007-04-28 04:00:37Z jberry@macports.org $ PortSystem 1.0 name commons-lang version 2.3 categories java maintainers jberry@macports.org openmaintainer@macports.org platforms darwin description Jakarta Commons-Lang long_description The Lang Component provides a host of helper utilities for \ the java.lang API, notably String manipulation methods, basic \ numerical methods, object reflection, creation and serialization, \ and System properties. Additionally it contains an inheritable \ enum type, an exception structure that supports multiple types \ of nested-Exceptions, basic enhancements to java.util.Date and \ a series of utlities dedicated to help with building methods, \ such as hashCode, toString and equals. homepage http://jakarta.apache.org/commons/lang/ distname ${name}-${version}-src master_sites apache:jakarta/commons/lang/source/ checksums md5 2ae988b339daec234019a7066f96733e depends_build bin:ant:apache-ant depends_lib bin:java:kaffe use_configure no build.cmd ant build.target dist build.args -Dfinal.name=${name} destroot { # Ensure needed directories xinstall -m 755 -d ${destroot}${prefix}/share/java \ ${destroot}${prefix}/share/doc # Install jar xinstall -m 644 ${worksrcpath}/${name}.jar \ ${destroot}${prefix}/share/java # Install docs file copy ${worksrcpath}/xdocs \ ${destroot}${prefix}/share/doc/${name} } livecheck.check regex livecheck.url http://jakarta.apache.org/site/downloads/downloads_${name}.cgi livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"