Ticket #26904: clojure-contrib-1.2.patch

File clojure-contrib-1.2.patch, 1.9 KB (added by mallman (Michael Allman), 14 years ago)

patch file

  • dports/lang/clojure-contrib/Portfile

     
    33PortSystem          1.0
    44
    55name                clojure-contrib
    6 version             1.1.0
     6conflicts           clojure-contrib-devel
     7version             1.2.0
    78categories          lang java
    89maintainers         gmail.com:ian.eure
    9 description         The Clojure programming language (1.1) - Contrib
     10description         The Clojure programming language - Contrib
    1011long_description    Clojure is a dynamic programming language for the JVM. \
    1112                    It is interactive, yet compiled, with a robust \
    1213                    infrastructure for concurrency. It is a functional \
     
    1516homepage            http://clojure.org/
    1617platforms           darwin
    1718depends_build       port:clojure
    18 master_sites        github:richhickey/clojure-contrib
     19master_sites        http://github.com/downloads/clojure/clojure-contrib/
    1920
    20 fetch.type          git
    21 git.url             git://github.com/richhickey/clojure-contrib.git
    22 git.branch          d132c5f1cba8d8861430e54a53f208a32c1c76d9
     21checksums           md5 83cc86fd2929ca417a9ab9f2a0dedadb \
     22                    sha1 3a65c81b7c7bb64cd5e0d16e8bc6022ecb40622c \
     23                    rmd160 7794c99d767b3029b5110db5d9b67600af290c48
    2324
     25use_zip             yes
     26
    2427use_configure       no
     28build               {}
    2529
    26 build.cmd           ant
    27 build.target        jar
    28 
    2930destroot {
    3031    set javadir ${destroot}${prefix}/share/java
    3132    set clojuredir ${javadir}/clojure/lib
     
    3334
    3435    xinstall -m 0755 -d ${javadir}
    3536    xinstall -m 0755 -d ${clojuredir}
    36     xinstall -m 0644 -W ${worksrcpath} ${name}.jar ${contribjar}
     37    xinstall -m 0644 -W ${worksrcpath}/target ${name}-${version}.jar ${contribjar}
    3738}