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

Last change on this file since 14819 was 13661, checked in by jberry, 15 years ago

Update java/commons-lang --> 2.1

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