Ticket #19542: Portfile.2

File Portfile.2, 1.5 KB (added by david.santiago@…, 15 years ago)

Updated portfile for the Github version

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                clojure-contrib
6version             20091013
7categories          lang java
8maintainers         cs.wm.edu:mpd
9description         The Clojure programming language - 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        http://github.com/richhickey/clojure-contrib/
19
20#checksums           md5 e7a50129040df7fe52287006988ecbb2 \
21#                    sha1 fa7c03be9b30e9462b71aead03ea4487c6b9aeac \
22#                    rmd160 cb4533bf24c96613cfa3a1643cafa2b689c32f83
23fetch.type           git
24git.url              git://github.com/richhickey/clojure-contrib.git
25git.branch           origin/clojure-1.0-compatible
26#distname            ${name}_${version}
27#use_zip             yes
28worksrcdir           trunk
29
30use_configure        no
31
32build.cmd           ant
33build.target        jar
34
35variant universal   {}
36
37destroot {
38    set javadir ${destroot}${prefix}/share/java
39    set clojuredir ${javadir}/clojure/lib
40    set contribjar ${clojuredir}/clojure-contrib.jar
41
42    xinstall -m 0755 -d ${javadir}
43    xinstall -m 0755 -d ${clojuredir}
44    xinstall -m 0644 -W ${workpath}/${worksrcdir} ${name}.jar ${contribjar}
45}