source: trunk/dports/lang/abcl/Portfile

Last change on this file was 153723, checked in by easieste@…, 12 months ago

Upgrade to abcl-1.4.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 153723 2016-10-09 14:02:32Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                        abcl
7version                     1.4.0
8revision            0
9categories                  lang java
10license             GPL-2
11maintainers                 easieste openmaintainer
12description                 A Common Lisp implementation that runs on the JVM
13long_description        \
14    Armed Bear Common Lisp is conforming, contemporary \
15    implementation of ANSI Common Lisp running on the Java \
16    Virtual Machine.  Containing both an interpreted mode and a \
17    compiler that produces JVM bytecode, it features extensions \
18    that faciliate the use of Java from Lisp enabling the rapid \
19    integration of arbitrary Java libraries into Common Lisp \
20    code.  ABCL fully supports the JSR-233 (Java scripting API), \
21    so it can be a utilized as a scripting engine in any Java \
22    application.
23   
24homepage            http://common-lisp.net/project/armedbear
25platforms           darwin
26master_sites        http://abcl.org/releases/${version}/
27distname            abcl-src-${version}
28
29checksums           md5     b60d653d8c7065876ffe2e7e76f6e3fa \
30                    sha1    8294e586e96bff03966caef0d666115f2ac2322c \
31                    rmd160  fc4e3bbb3e965a0ac3155fc18e886b6698768c52
32
33depends_build       port:apache-ant
34
35use_configure       no
36
37build.cmd           ant
38build.target        abcl.wrapper
39
40post-build {
41    reinplace "s|${worksrcpath}/dist/abcl.jar|${prefix}/share/java/abcl/abcl.jar|g" \
42        ${worksrcpath}/abcl
43}
44
45destroot {
46    xinstall -m 755 -d ${destroot}${prefix}/share/java/abcl 
47    xinstall -m 644 \
48        ${worksrcpath}/dist/abcl.jar \
49        ${destroot}${prefix}/share/java/abcl
50    xinstall -m 644 \
51        ${worksrcpath}/dist/abcl-contrib.jar \
52        ${destroot}${prefix}/share/java/abcl
53    xinstall -m 755 \
54        ${worksrcpath}/abcl \
55        ${destroot}${prefix}/share/java/abcl
56        system "ln -fs ${prefix}/share/java/abcl/abcl \
57                ${destroot}${prefix}/bin/abcl"
58}
59
60variant ffi description "Include MacPorts Maven as runtime dependency for resolving artifacts from the network." { 
61    depends_run-append port:maven3
62}
Note: See TracBrowser for help on using the repository browser.