PortSystem          1.0

name                ant-contrib
version             1.0b3
categories          devel
maintainers         hibnet.org:hibou
description         A collection of tasks for Apache Ant
long_description    A collection of tasks for Apache Ant. There are some \
                    task on topic such as logic (if, for, foreach,...), \
                    network (post,...), performance monitoring tasks \
                    (stopwatch,...), platform (osfamily,...), property \
                    (propertycopy, propertyregexp, urlencode,...), \
                    process (forget, limit), and other.
homepage            http://ant-contrib.sourceforge.net/
platforms           any
supported_archs     noarch
master_sites        sourceforge
checksums           md5 ee06ff88da133dce3acc3248aee0ad83 \
                    sha1 05b74808d51f501a993457fb9b7871484acba901 \
                    rmd160 6dd0cea5dbb3d97cd629d6100849095c69afaad5
distname            ${name}-${version}-bin
worksrcdir          ${name}

use_configure       no
build               {}

depends_run         port:apache-ant

destroot	{
    xinstall -m 755 -d ${destroot}${prefix}/share/java/apache-ant/lib
    xinstall -m 644 ${worksrcpath}/${name}-${version}.jar \
        ${destroot}${prefix}/share/java/apache-ant/lib/
    xinstall -m 755 -d ${destroot}${prefix}/share/doc
    copy ${worksrcpath}/docs \
		${destroot}${prefix}/share/doc/${name}
}
