source: trunk/dports/lang/mit-scheme/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; 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 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                    mit-scheme
7epoch                   1
8version                 9.2
9revision                2
10categories              lang
11license                 {GPL-2+ OpenSSLException}
12platforms               darwin
13maintainers             dports openmaintainer
14
15description             MIT/GNU Scheme
16
17long_description        MIT/GNU Scheme is an implementation of the \
18                        Scheme programming language, providing an \
19                        interpreter, compiler, source-code debugger, \
20                        integrated Emacs-like editor, and a large \
21                        runtime library. MIT/GNU Scheme is best suited \
22                        to programming large applications with a rapid \
23                        development cycle.
24
25homepage                http://www.gnu.org/software/mit-scheme/
26master_sites            gnu:${name}/stable.pkg/${version}/
27distname                ${name}-c-${version}
28
29checksums               rmd160  a8028230d500855fe1864e2ad7f8210810296ec5 \
30                        sha256  4f6a16f9c7d4b4b7bb3aa53ef523cad39b54ae1eaa3ab3205930b6a87759b170
31
32depends_lib \
33    port:xorg-libX11 \
34    port:ncurses \
35    path:lib/libssl.dylib:openssl
36
37post-patch  {
38    reinplace "s|/usr/local|${prefix}|g" \
39        ${worksrcpath}/doc/configure \
40        ${worksrcpath}/doc/ref-manual/os-interface.texi \
41        ${worksrcpath}/doc/scheme.1 \
42        ${worksrcpath}/doc/user-manual/user.texinfo \
43        ${worksrcpath}/src/6001/edextra.scm \
44        ${worksrcpath}/src/6001/floppy.scm \
45        ${worksrcpath}/src/compiler/documentation/porting.guide \
46        ${worksrcpath}/src/compiler/etc/disload.scm \
47        ${worksrcpath}/src/configure \
48        ${worksrcpath}/src/edwin/techinfo.scm \
49        ${worksrcpath}/src/edwin/unix.scm \
50        ${worksrcpath}/src/lib/include/configure \
51        ${worksrcpath}/src/lib/include/option.c \
52        ${worksrcpath}/src/README.txt \
53        ${worksrcpath}/src/swat/c/tk3.2-custom/Makefile \
54        ${worksrcpath}/src/swat/c/tk3.2-custom/tcl/Makefile \
55        ${worksrcpath}/src/swat/scheme/other/btest.scm
56
57    if {[vercmp $xcodeversion 4.3] >= 0} {
58        set sdks_dir "${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs"
59        reinplace "s|MACOSX_SYSROOT=/Developer/SDKs/|MACOSX_SYSROOT=${sdks_dir}/|" \
60            ${worksrcpath}/src/configure \
61            ${worksrcpath}/src/microcode/configure
62    }
63}
64
65use_configure           no
66
67use_parallel_build      no
68
69destroot.cmd            ${build.cmd}
70
71build.dir               ${worksrcpath}/src
72build.cmd               etc/make-liarc.sh
73build.args              --prefix=${prefix}
74build.target
75build.env               CC=${configure.cc} CFLAGS="${configure.cflags} ${configure.cc_archflags}"
76
77livecheck.url           http://ftp.gnu.org/gnu/${name}/stable.pkg/
78livecheck.type          regex
79livecheck.regex         {([0-9.]+)/}
Note: See TracBrowser for help on using the repository browser.