source: trunk/dports/java/commons-fileupload/Portfile @ 72252

Last change on this file since 72252 was 72252, checked in by jberry@…, 10 years ago

Drop maintainership of my recently ill-maintained java ports. I may still look in on them from time to time, but this feels better than to just ignore thme. Free to a good home.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 72252 2010-10-08 23:20:28Z jberry@macports.org $
2
3PortSystem 1.0
4
5name                            commons-fileupload
6version                         1.2.1
7
8categories                      java
9maintainers                     nomaintainer
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.
15                                       
16homepage                        http://commons.apache.org/fileupload/
17
18distname                        ${name}-${version}-src
19master_sites            apache:commons/fileupload/source/
20checksums           md5     c2bdb9264aec564e3f4fbbdf4344a844 \
21                    sha1    339688282a2ad99c251f6341efbfef33c4bce527
22
23depends_build           bin:ant:apache-ant
24depends_lib                     bin:java:kaffe \
25                                        port:junit \
26                                        port:servlet23-api
27
28use_configure           no
29
30worksrcdir                      ${name}-${version}-src
31
32build.env                       CLASSPATH=${prefix}/share/java/servlet23-api.jar:${prefix}/share/java/junit.jar
33build.cmd                       ant
34build.target            dist
35build.args                      -Dfinal.name=${name} \
36                                        -Dnoget=true
37
38destroot        {
39        xinstall -m 755 -d ${destroot}${prefix}/share/java \
40                ${destroot}${prefix}/share/doc
41        xinstall -m 644 ${worksrcpath}/dist/commons-fileupload.jar \
42                ${destroot}${prefix}/share/java/
43        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
44}
45
46
47livecheck.type  regex
48livecheck.url   http://commons.apache.org/downloads/download_fileupload.cgi
49livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.