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

Last change on this file since 72252 was 72252, checked in by jberry@…, 9 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-httpclient
6version                         3.1
7
8categories                      java
9maintainers                     nomaintainer
10platforms                       darwin
11
12description                     Jakarta Commons-HttpClient
13long_description        Commons-HttpClient provides a framework for working with \
14                                        the client-side  of the HTTP protocol.
15homepage                        http://hc.apache.org/httpcomponents-client
16                               
17distname                        ${name}-${version}-src
18master_sites            apache:httpcomponents/commons-httpclient/source/
19checksums                       md5 2c9b0f83ed5890af02c0df1c1776f39b
20
21depends_build           bin:ant:apache-ant
22depends_lib                     bin:java:kaffe \
23                                        port:junit \
24                                        port:commons-logging \
25                                        port:commons-codec
26
27use_configure           no
28
29worksrcdir                      ${name}-${version}
30
31build.cmd                       ant
32build.target            dist
33build.args                      -Djunit.jar=${prefix}/share/java/junit.jar \
34                                        -Dcommons-logging.jar=${prefix}/share/java/commons-logging.jar \
35                                        -Dcommons-codec.jar=${prefix}/share/java/commons-codec.jar
36
37post-extract    {
38        file mkdir ${worksrcpath}/lib
39}
40
41destroot        {
42        xinstall -m 755 -d ${destroot}${prefix}/share/java \
43                ${destroot}${prefix}/share/doc
44        xinstall -m 644 \
45                ${worksrcpath}/dist/commons-httpclient.jar \
46                ${destroot}${prefix}/share/java/
47        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
48}
49
50livecheck.type  regex
51livecheck.url   http://hc.apache.org/downloads.cgi
52livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.