PortSystem          1.0

name                clojure-contrib
conflicts           clojure-contrib-devel
version             1.2.0
categories          lang java
maintainers         nomaintainer
description         The Clojure programming language - Contrib
long_description    This is 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
master_sites        https://github.com/downloads/clojure/clojure-contrib/

checksums           md5 83cc86fd2929ca417a9ab9f2a0dedadb \
                    sha1 3a65c81b7c7bb64cd5e0d16e8bc6022ecb40622c \
                    rmd160 7794c99d767b3029b5110db5d9b67600af290c48

use_zip             yes

use_configure       no
build               {}

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}/target ${name}-${version}.jar ${contribjar}
}
