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

Last change on this file since 11852 was 11852, checked in by jberry, 14 years ago

Limited migration of ports from lib:XXX:portname to port::portname syntax.

I've modified all of the java ports to use the port::portname syntax by using the
following script. If this is successfull we'll migrate the rest of the ports over before
too long.

for f in find . -name "Portfile" | xargs grep -l lib:XXX:; do

sed -e s/lib:XXX:/port::/g $f > $f.tmp
mv $f.tmp $f

done

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.4 2005/04/18 14:18:27 jberry Exp $
2
3PortSystem 1.0
4
5name                            commons-httpclient
6version                         2.0.2
7
8categories                      java
9maintainers                     jberry@opendarwin.org
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://jakarta.apache.org/commons/httpclient/
16                               
17distname                        ${name}-${version}-src
18master_sites            apache:jakarta/commons/httpclient/source/
19checksums                       md5 f3ae7736fbfb559cb228291427f22c2d
20
21depends_build           bin:ant:apache-ant
22depends_lib                     bin:java:kaffe \
23                                        port::junit \
24                                        port::commons-logging
25
26use_configure           no
27
28worksrcdir                      ${name}-${version}
29
30build.cmd                       ant
31build.target            dist
32build.args                      -Djunit.jar=${prefix}/share/java/junit.jar \
33                                        -Dcommons-logging.jar=${prefix}/share/java/commons-logging.jar
34
35post-extract    {
36        file mkdir ${worksrcpath}/lib
37}
38
39destroot        {
40        xinstall -m 755 -d ${destroot}${prefix}/share/java \
41                ${destroot}${prefix}/share/doc
42        xinstall -m 644 \
43                ${worksrcpath}/dist/commons-httpclient.jar \
44                ${destroot}${prefix}/share/java/
45        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
46}
Note: See TracBrowser for help on using the repository browser.