1 | # $Id$ -*- mode: conf -*- |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name tokyo-cabinet-clj |
---|
6 | version 20090505 |
---|
7 | categories database java |
---|
8 | maintainers ime |
---|
9 | description Java API for Tokyo Cabinet, a modern DBM |
---|
10 | long_description Clojure is a dynamic programming language for the JVM. |
---|
11 | |
---|
12 | homepage http://github.com/jmtulloss/tokyo-cabinet-clj/tree/master |
---|
13 | platforms darwin |
---|
14 | depends_build port:tokyocabinet port:tokyocabinet-java |
---|
15 | |
---|
16 | fetch.type git |
---|
17 | git.url git://github.com/jmtulloss/tokyo-cabinet-clj.git |
---|
18 | git.branch cfab6104b9f3635f97968fda526218c8a706954d |
---|
19 | |
---|
20 | variant universal {} |
---|
21 | |
---|
22 | ## configure ## |
---|
23 | use_configure no |
---|
24 | |
---|
25 | ## build ## |
---|
26 | build.cmd ant |
---|
27 | build.target jar |
---|
28 | |
---|
29 | destroot { |
---|
30 | set javadir ${destroot}${prefix}/share/java |
---|
31 | set clojuredir ${javadir}/clojure/lib |
---|
32 | set jarfile tokyo-cabinet.jar |
---|
33 | set destfile ${clojuredir}/${jarfile} |
---|
34 | |
---|
35 | xinstall -m 0755 -d ${javadir} |
---|
36 | xinstall -m 0755 -d ${clojuredir} |
---|
37 | xinstall -m 0644 -W ${worksrcpath} ${jarfile} ${destfile} |
---|
38 | } |
---|