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

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

New port commons-lang -- common language utilities for java

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id: Portfile,v 1.1 2004/10/24 22:08:50 jberry Exp $
2
3PortSystem 1.0
4
5name                            commons-lang
6version                         2.0
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
24master_sites            apache:jakarta/commons/lang/source/
25checksums                       md5 200a40d46fe6a60af76acf973298b8fe
26
27depends_build           bin:ant:apache-ant
28depends_lib                     bin:java:kaffe
29                               
30use_configure           no
31
32build.cmd                       ant
33build.target            dist
34build.args                      -Dfinal.name=${name}
35
36destroot {
37        # Ensure needed directories
38        xinstall -m 755 -d ${destroot}${prefix}/share/java \
39                ${destroot}${prefix}/share/doc
40               
41        # Install jar
42        xinstall -m 644 ${worksrcpath}/dist/${name}.jar \
43                ${destroot}${prefix}/share/java
44               
45        # Install docs
46        file copy ${worksrcpath}/dist/docs \
47                ${destroot}${prefix}/share/doc/${name}
48}
Note: See TracBrowser for help on using the repository browser.