Ticket #22752: Portfile

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