PortSystem          1.0

name                clojure-contrib-devel
version             git-20100220
categories          lang java
maintainers         nomaintainer
description         The Clojure programming language (development) - Contrib
long_description    This is a development snapshot of the user contributions \
                    library for the Clojure programming language. It is a \
                    collection of namespaces implementing features that may \
                    be useful to a large part of the Clojure community.
homepage            https://clojure.org/
platforms           darwin
depends_build       port:clojure

fetch.type          git
git.url             git://github.com/richhickey/clojure-contrib.git
git.branch          6f2b1d73b50b7b9f0d753aa0f5fd343b67f75bf6

use_configure       no

build.cmd           ant
build.target        jar

destroot {
    set javadir ${destroot}${prefix}/share/java
    set clojuredir ${javadir}/clojure/lib
    set contribjar ${clojuredir}/clojure-contrib.jar

    xinstall -m 0755 -d ${javadir}
    xinstall -m 0755 -d ${clojuredir}
    xinstall -m 0644 -W ${worksrcpath} clojure-contrib.jar ${contribjar}
}
