Ticket #18498: Portfile

File Portfile, 1.4 KB (added by hibou@…, 15 years ago)
Line 
1# $Id$
2PortSystem          1.0
3name                ant-contrib
4version             1.0b3
5categories          devel
6maintainers         hibou@hibnet.org
7description         A collection of tasks for Apache Ant
8long_description    A collection of tasks for Apache Ant. There are some \
9                    task on topic such as logic (if, for, foreach,...), \
10                    network (post,...), performance monitoring tasks \
11                    (stopwatch,...), platform (osfamily,...), property \
12                    (propertycopy, propertyregexp, urlencode,...), \
13                    process (forget, limit), and other.
14homepage            http://ant-contrib.sourceforge.net
15platforms           darwin
16master_sites        sourceforge
17checksums           md5 ee06ff88da133dce3acc3248aee0ad83 \
18                    sha1 05b74808d51f501a993457fb9b7871484acba901 \
19                    rmd160 6dd0cea5dbb3d97cd629d6100849095c69afaad5
20distname            ${name}-${version}-bin
21
22use_configure       no
23build.cmd           true
24worksrcdir          ${name}
25
26depends_run         port:apache-ant
27
28destroot        {
29    xinstall -m 755 -d ${destroot}${prefix}/share/java/apache-ant/lib/
30    file copy ${worksrcpath}/${name}-${version}.jar \
31        ${destroot}${prefix}/share/java/apache-ant/lib/
32    xinstall -m 755 -d ${destroot}${prefix}/share/doc/
33    file copy ${worksrcpath}/docs \
34                ${destroot}${prefix}/share/doc/${name}
35}