source: trunk/dports/lang/clisp/Portfile

Last change on this file was 141219, checked in by jeremyhu@…, 18 months ago

clisp: Build with clang

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- mode: tcl; coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- # vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 141219 2015-10-13 02:55:51Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            clisp
7version         2.49
8revision        3
9categories      lang
10maintainers     easieste openmaintainer
11platforms       darwin
12license         GPL-2
13description     The Clisp Common Lisp Implementation
14long_description        \
15                CLISP is a Common Lisp implementation by Bruno Haible, \
16                formerly of Karlsruhe University, and Michael Stoll, \
17                formerly of Munich University, both in Germany. \
18                It mostly supports the Lisp described in the \
19                ANSI Common Lisp standard. \
20                CLISP includes an interpreter, a compiler, almost all \
21                of CLOS, a foreign language interface and a socket interface. \
22                An X11 interface is available through CLX and Garnet. \
23                Command line editing is provided by readline.
24
25homepage        http://clisp.cons.org/
26master_sites    gnu:clisp/release/${version}    \
27                sourceforge
28
29checksums           md5     1962b99d5e530390ec3829236d168649 \
30                    sha1    7e8d585ef8d0d6349ffe581d1ac08681e6e670d4 \
31                    rmd160  bfb81abf942b07bbb8d83505f287d546b1bbdacc
32
33depends_lib     port:readline   \
34                port:gettext    \
35                port:libsigsegv
36
37universal_variant no
38use_bzip2       yes
39patchfiles      patch-src_lispbibl_d.diff
40
41if {${os.platform} eq "darwin" && ${os.major} >= 14} {
42   patchfiles-append patch-src_configure.diff
43}
44
45# Enable a subset of architectures due to inline-asm
46supported_archs ppc i386 x86_64
47
48# Works with Xcode 7.0 and macports-clang-3.4
49# Failed in Lion (https://trac.macports.org/ticket/33344)
50# Assuming {clang < 300}, but please refine if more datapoints become available
51compiler.blacklist {clang < 300}
52
53configure.cflags
54
55if {${os.platform} eq "darwin" && ${os.major} >= 11} {
56   configure.cflags-append -Wl,-no_pie
57}
58
59configure.cc-append  ${configure.cc_archflags}
60configure.args      --with-libreadline-prefix=${prefix} \
61                    --with-libsigsegv-prefix=${prefix} \
62                    --with-libiconv-prefix=${prefix}
63
64use_parallel_build  no
65build.dir           ${worksrcpath}/src
66build.env-delete    LD_PREBIND LD_PREBIND_ALLOW_OVERLAP
67build.cmd           "ulimit -s 16384 && make"
68build.target 
69
70test.run            yes
71test.target         check
72
73livecheck.type  regex
74livecheck.url   http://ftp.gnu.org/gnu/${name}/release/?C=M&O=D
75livecheck.regex >(\[0-9.\]+)/<
Note: See TracBrowser for help on using the repository browser.