Ticket #22718: Portfile

File Portfile, 1.3 KB (added by ian.eure@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                clojure-contrib-devel
6version             git-20091128
7revision            1
8categories          lang java
9maintainers         gmail.com:ian.eure
10description         The Clojure programming language (development) - Contrib
11long_description    Clojure is a dynamic programming language for the JVM. \
12                    It is interactive, yet compiled, with a robust \
13                    infrastructure for concurrency. It is a functional \
14                    dialect of Lisp, with a rich set of immutable, \
15                    persistent data structures and a macro system.
16homepage            http://clojure.org/
17platforms           darwin
18depends_build       port:clojure-devel
19master_sites        github:richhickey/clojure-contrib
20
21fetch.type          git
22git.url             git://github.com/richhickey/clojure-contrib.git
23git.branch          a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff
24
25use_configure       no
26
27build.cmd           ant
28build.target        jar
29
30destroot {
31    set javadir ${destroot}${prefix}/share/java
32    set clojuredir ${javadir}/clojure/lib
33    set contribjar ${clojuredir}/clojure-contrib.jar
34
35    xinstall -m 0755 -d ${javadir}
36    xinstall -m 0755 -d ${clojuredir}
37    xinstall -m 0644 -W ${worksrcpath} clojure-contrib.jar ${contribjar}
38}