# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description Dependency manager for Apache Ant
long_description Apache Ivy is a transitive dependency manager that \
is designed to integrate with Apache Ant. An \
external XML file defines project dependencies and \
lists the resources necessary to build a project. \
Ivy then resolves and downloads resources from an \
artifact repository: either a private repository \
or one publicly available on the Internet.
homepage https://ant.apache.org/ivy
depends_build port:apache-ant
master_sites apache:ant/ivy/${version}
distname ${name}-${version}-src
checksums md5 bd16ef9a402859522606ed9edd468f1f \
sha1 1efa73e73b5fc14ef003ff2fcb182f039db33ce2 \
sha256 202f08ca41f4bdf1c081aa8b2e531565be6c73e9e5e0d68137f454f14eb16ef6 \
rmd160 f878b4c76d1fc6b42419eee47eb1bf28008408a8
worksrcdir ${name}-${version}
build.target /localivy jar
set javadir ${destroot}${prefix}/share/java/
set docdir ${destroot}${prefix}/share/doc/
xinstall -d ${javadir}/apache-ant/lib/ ${docdir}
xinstall ${worksrcpath}/build/artifact/jars/ivy.jar ${javadir}
ln -s ${prefix}/share/java/ivy.jar ${javadir}/apache-ant/lib/ivy.jar
file delete -force ${worksrcpath}/build/artifact
move ${worksrcpath}/doc ${docdir}/${name}
# move ${worksrcpath} ${javadir}/${name}
livecheck.url https://ant.apache.org/ivy/index.html
livecheck.regex ">(\\d+(?:\\.\\d+)*)<"