source: trunk/dports/lang/sbcl/Portfile @ 51929

Last change on this file since 51929 was 51929, checked in by gwright@…, 8 years ago

Version bump to 1.0.29.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.4 KB
Line 
1# $Id: Portfile 51929 2009-06-06 20:42:08Z gwright@macports.org $
2
3PortSystem 1.0
4
5name            sbcl
6version         1.0.29
7categories      lang
8maintainers     gwright waqar
9platforms       darwin
10description     The Steel Bank Common Lisp system
11long_description        \
12                Steel Bank Common Lisp (SBCL) is a Open Source          \
13                development system for ANSI Common Lisp. It provides an \
14                interactive environment including an integrated native  \
15                compiler, interpreter, and debugger. (And it, and its   \
16                generated code, can also play nicely with Unix when     \
17                running noninteractively.)
18
19homepage        http://www.sbcl.org
20master_sites    sourceforge
21use_bzip2       yes
22
23platform powerpc {
24                   set bootversion 1.0.22
25                   distfiles-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix}
26                   checksums-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix} \
27                        md5 61179259f7a7cccfa731f652f5edd29c
28
29                   global host_lisp
30                   set host_lisp        "\"${workpath}/${name}-${bootversion}-powerpc-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-powerpc-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
31}
32
33platform darwin 8 i386     {
34                   set bootversion 1.0.10
35                   distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
36                   checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
37                        md5 8684c781efd9667280f49b354cc83275
38
39                   global host_lisp
40                   set host_lisp        "\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
41}
42
43platform darwin 9 i386     {
44                   set bootversion 1.0.12
45                   distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
46                   checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
47                        md5 5c8e50fad3994ab5fb619d76260bd619
48
49                   global host_lisp
50                   set host_lisp        "\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
51}
52
53patchfiles      patch-use-mach-exception-handler.diff
54
55               
56distfiles       ${name}-${version}-source${extract.suffix}
57
58distname        ${name}-${version}-source
59worksrcdir      ${name}-${version}
60
61checksums       ${name}-${version}-source${extract.suffix}              \
62                    md5     eb4d8ff56f19dc760e756d7c001d4229            \
63                    sha1    b53622a021bbc61913b66c3ed2ff0bc36fb8a100    \
64                    rmd160  5cdb2c6accaf6fa41bd0abd1cc61010aedb68864
65
66post-patch      {
67        reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
68                            ${worksrcpath}/src/runtime/runtime.c
69        reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
70                            ${worksrcpath}/doc/sbcl.1
71}
72
73use_configure   no
74
75
76build           {
77        system "ulimit -s 8192"
78        system "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh ${host_lisp}"
79}
80
81post-build {
82        if {[variant_isset html]} {
83                system "cd ${worksrcpath}/doc; INSTALL_ROOT=${destroot}${prefix} sh ${worksrcpath}/doc/make-doc.sh"
84        }
85}
86
87default_variants        +html
88
89variant html description {Builds the SBCL and ASDF documentation as HTML} {}
90
91variant threads description {enable threaded runtime} {
92        patchfiles-append patch-base-target-features.diff
93}
94
95test.run        yes
96test.dir        ${worksrcpath}/tests
97test.cmd        sh
98test.target     run-tests.sh
99
100destroot        { system "cd ${worksrcpath}; INSTALL_ROOT=${destroot}/${prefix} sh ${worksrcpath}/install.sh"
101}
102
Note: See TracBrowser for help on using the repository browser.