source: trunk/dports/lang/gcl/Portfile

Last change on this file was 128721, checked in by larryv@…, 3 years ago

gcl: Update to 2.6.12

Also:

  • Remove unnecessary reinplace for setting info directory.
  • Prevent build from forcing CC=gcc.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 128721 2014-11-27 08:51:22Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                gcl
7version             2.6.12
8categories          lang
9license             GPL-2+
10platforms           darwin
11maintainers         nomaintainer
12
13description         GNU Common Lisp
14long_description    GCL is the official Common Lisp for the GNU project. \
15                    Its design makes use of the system's C compiler to \
16                    compile to native object code, providing for both \
17                    good performance and facile portability.
18homepage            http://www.gnu.org/software/gcl
19
20depends_lib         port:gettext \
21                    port:gmp \
22                    port:readline
23
24master_sites        gnu
25checksums           rmd160  51414c7d3da76220246807985763656b6a2ef4d9 \
26                    sha256  8eb8491bccafc49683599e92a30ba36db0825dd4bb138a104cb662b9b0d090e8
27worksrcdir          ${name}
28
29# Don't compile with -Wno-unused-but-set-variable.
30patchfiles          configure.patch
31
32# Use the right compiler.
33patchfiles-append   h-386-macosx.defs.patch
34
35configure.cflags-append -std=gnu89
36configure.args      --disable-notify \
37                    --disable-statsysbfd \
38                    --enable-ansi \
39                    --enable-custreloc \
40                    --enable-emacsdir=${prefix}/share/emacs/site-lisp/gcl \
41                    --enable-infodir=${prefix}/share/info \
42                    --enable-readline \
43                    --without-x \
44                    --disable-xgcl
45
46post-configure {
47    reinplace "s|./default.el|${prefix}/etc/default.el|g" makedefs makedefc
48}
49
50use_parallel_build no
51
52variant x11 {
53    depends_lib-append  port:xorg-libX11
54    configure.args-delete --without-x --disable-xgcl
55    configure.args-append --with-x --enable-xgcl \
56                          --x-includes=${prefix}/include \
57                          --x-libraries=${prefix}/lib
58}
Note: See TracBrowser for help on using the repository browser.