source: trunk/dports/java/commons-lang/Portfile

Last change on this file was 85399, checked in by jmr@…, 6 years ago

commons-lang: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 85399 2011-10-13 10:08:42Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                            commons-lang
6version                         2.4
7
8categories                      java
9license                         Apache-2
10maintainers                     nomaintainer
11platforms                       darwin
12
13description                     Jakarta Commons-Lang
14long_description        The Lang Component provides a host of helper utilities for \
15                                        the java.lang API, notably String manipulation methods, basic \
16                                        numerical methods, object reflection, creation and serialization, \
17                                        and System properties. Additionally it contains an inheritable \
18                                        enum type, an exception structure that supports multiple types \
19                                        of nested-Exceptions, basic enhancements to java.util.Date and \
20                                        a series of utlities dedicated to help with building methods, \
21                                        such as hashCode, toString and equals.
22homepage                        http://commons.apache.org/lang/
23                               
24distname                        ${name}-${version}-src
25master_sites            apache:commons/lang/source/
26checksums           md5     625ff5f2f968dd908bca43c9469d6e6b \
27                    sha1    61ec8be8c2cf8f4c4272545666f936dd9f7e2a29
28
29depends_build           bin:ant:apache-ant
30depends_lib                     bin:java:kaffe
31                               
32use_configure           no
33
34build.cmd                       ant
35build.target            dist
36build.args                      -Dfinal.name=${name}
37
38destroot {
39        # Ensure needed directories
40        xinstall -m 755 -d ${destroot}${prefix}/share/java \
41                ${destroot}${prefix}/share/doc
42               
43        # Install jar
44        xinstall -m 644 ${worksrcpath}/${name}.jar \
45                ${destroot}${prefix}/share/java
46               
47        # Install docs
48        file copy ${worksrcpath}/xdocs \
49                ${destroot}${prefix}/share/doc/${name}
50}
51
52livecheck.type  regex
53livecheck.url   http://commons.apache.org/downloads/download_lang.cgi
54livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.