# $Id: Portfile 72252 2010-10-08 23:20:28Z jberry@macports.org $ PortSystem 1.0 name commons-lang version 2.4 categories java maintainers nomaintainer 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://commons.apache.org/lang/ distname ${name}-${version}-src master_sites apache:commons/lang/source/ checksums md5 625ff5f2f968dd908bca43c9469d6e6b \ sha1 61ec8be8c2cf8f4c4272545666f936dd9f7e2a29 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.type regex livecheck.url http://commons.apache.org/downloads/download_lang.cgi livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"