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

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

Version bump to 0.9.17.

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1# $Id: Portfile,v 1.33 2006/07/16 06:13:29 jkh Exp $
2
3PortSystem 1.0
4name            sbcl
5version         0.9.17
6set bootversion 0.9.16
7categories      lang
8maintainers     gwright@opendarwin.org waqar@macports.org
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 0.9.15
25                   distfiles-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix}
26                   checksums-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix} \
27                        md5 2f0ee82eff649e3862c524fd0705cfc0
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 i386     {
34                   distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
35                   checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
36                        md5 b7fb206ac82d11ae7aeee8e0cf462c93
37
38                   global host_lisp
39                   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\" "
40}
41
42               
43distfiles       ${name}-${version}-source${extract.suffix}
44
45distname        ${name}-${version}-source
46worksrcdir      ${name}-${version}
47
48checksums       ${name}-${version}-source${extract.suffix}              \
49                        md5 1f2297931f35d6d84d632c30aa099c13
50
51#patchfiles     patch-Config.x86-darwin patch-Config.ppc-darwin
52
53post-patch      { reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
54                            ${worksrcpath}/src/runtime/runtime.c
55                  reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
56                            ${worksrcpath}/doc/sbcl.1
57                }
58
59use_configure   no
60
61
62build           { cd ${worksrcpath}
63                  system "ulimit -s 8192"
64
65                  system "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh ${host_lisp}"
66                }
67
68default_variants        +test
69
70variant test    { test.run      yes
71                  test.dir      ${worksrcpath}/tests
72                  test.cmd      sh
73                  test.target   run-tests.sh
74                }
75
76destroot        { cd ${worksrcpath}
77                  system "INSTALL_ROOT=${destroot}/${prefix} sh install.sh"
78                }
79
Note: See TracBrowser for help on using the repository browser.