Ticket #44982: tokyocabinet-clj.diff

File tokyocabinet-clj.diff, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)
  • Portfile

     
    22# $Id$
    33
    44PortSystem          1.0
     5PortGroup           github 1.0
    56
     7github.setup        JustinTulloss tokyo-cabinet-clj cfab6104b9f3635f97968fda526218c8a706954d
    68name                tokyocabinet-clj
    79version             20090505
    810categories          databases java
    911maintainers         ieure
    1012license             MIT
     13supported_archs     noarch
     14
    1115description         Java API for Tokyo Cabinet, a modern DBM
    1216long_description    Clojure is a dynamic programming language for the JVM.
    1317
    14 homepage            http://github.com/JustinTulloss/tokyo-cabinet-clj/tree/master
    1518platforms           darwin
    16 depends_build       port:tokyocabinet port:tokyocabinet-java
    1719
    18 fetch.type          git
    19 git.url             git://github.com/JustinTulloss/tokyo-cabinet-clj.git
    20 git.branch          cfab6104b9f3635f97968fda526218c8a706954d
     20checksums           rmd160  931581c65f5ce85ec9c6cd73d7f7b995159e792f \
     21                    sha256  a494737ebd50d9ca192964d88468406597380d12e19640fbf777142b059a4b6a
    2122
    22 variant universal   {}
     23depends_build       bin:ant:apache-ant port:tokyocabinet port:tokyocabinet-java
    2324
    24 ## configure ##
    2525use_configure       no
    2626
    27 ## build ##
    2827build.cmd           ant
    2928build.target        jar
    3029
     
    3231    set javadir ${destroot}${prefix}/share/java
    3332    set clojuredir ${javadir}/clojure/lib
    3433    set jarfile tokyo-cabinet.jar
    35     set destfile ${clojuredir}/${jarfile}
    3634
    37     xinstall -m 0755 -d ${javadir}
    3835    xinstall -m 0755 -d ${clojuredir}
    39     xinstall -m 0644 -W ${worksrcpath} ${jarfile} ${destfile}
     36    xinstall -m 0644 -W ${worksrcpath} ${jarfile} ${clojuredir}
    4037}