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

Last change on this file since 20315 was 20315, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 20315 2006-11-01 22:23:03Z blair@macports.org $
2
3PortSystem 1.0
4
5name                            commons-lang
6version                         2.1
7
8categories                      java
9maintainers                     jberry@macports.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.