source: trunk/dports/devel/leiningen/Portfile

Last change on this file was 149079, checked in by khindenburg@…, 16 months ago

leiningen: update to 2.6.1; add license #50952

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 149079 2016-05-29 02:12:27Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        technomancy leiningen 2.6.1
8categories          devel java
9maintainers         nomaintainer
10platforms           darwin
11supported_archs     noarch
12license             EPL-1
13
14description         A build tool for Clojure designed to not set your hair on fire.
15long_description    ${description}
16
17checksums           rmd160  232ed012595ac8e5d8ad75a7e20cdfe2f554a5de \
18                    sha256  7e1b49d21c7cdfb4b897493914a5965ad6d8c0217fcc54b3de42cc963c723e2e
19
20depends_build       port:clojure \
21                    port:clojure-contrib \
22                    port:apache-ant \
23                    port:maven2
24depends_run         port:jline
25
26post-patch {
27    copy ${filespath}/build.xml ${worksrcpath}
28    reinplace "s|__PREFIX__|${prefix}/share/java|" ${worksrcpath}/build.xml
29}
30
31use_configure       no
32
33build.cmd           ant
34build.target        jar
35
36destroot {
37    set javadir ${prefix}/share/java
38    reinplace "s|__PREFIX__|${javadir}|" ${worksrcpath}/bin/lein
39    xinstall -m 0755 -d ${destroot}${javadir}
40    xinstall -m 0755 ${worksrcpath}/bin/lein ${destroot}${prefix}/bin
41    xinstall -m 0644 ${worksrcpath}/leiningen.jar ${destroot}${javadir}
42}
Note: See TracBrowser for help on using the repository browser.