source: trunk/dports/java/commons-fileupload/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.1 KB
Line 
1# $Id: Portfile 20315 2006-11-01 22:23:03Z blair@macports.org $
2
3PortSystem 1.0
4
5name                            commons-fileupload
6version                         1.1
7
8categories                      java
9maintainers                     jberry@macports.org
10platforms                       darwin
11
12description                     Jakarta Commons-FileUpload
13long_description        FileUpload makes it easy to add robust, high-performance, file \
14                                        upload  capability to your servlets and web applications.
15homepage                        http://jakarta.apache.org/commons/fileupload/
16
17distname                        ${name}-${version}-src
18master_sites            apache:jakarta/commons/fileupload/source/
19checksums                       md5 7076fd3032fc28436515bac0374813a9
20
21depends_build           bin:ant:apache-ant
22depends_lib                     bin:java:kaffe \
23                                        port:junit \
24                                        port:servlet23-api
25
26use_configure           no
27
28worksrcdir                      ${name}-${version}
29
30build.env                       CLASSPATH=${prefix}/share/java/servlet23-api.jar:${prefix}/share/java/junit.jar
31build.cmd                       ant
32build.target            dist
33build.args                      -Dfinal.name=${name} \
34                                        -Dnoget=true
35
36destroot        {
37        xinstall -m 755 -d ${destroot}${prefix}/share/java \
38                ${destroot}${prefix}/share/doc
39        xinstall -m 644 ${worksrcpath}/dist/commons-fileupload.jar \
40                ${destroot}${prefix}/share/java/
41        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
42}
Note: See TracBrowser for help on using the repository browser.