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

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

Version bump to 1.0.1.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
RevLine 
[20326]1# $Id: Portfile 21200 2007-01-12 12:42:44Z gwright@macports.org $
[5621]2
[11384]3PortSystem 1.0
[5621]4name            sbcl
[21200]5version         1.0.1
[19368]6set bootversion 0.9.16
[5621]7categories      lang
[21200]8maintainers     gwright@macports.org waqar@macports.org
[5621]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
[5649]19homepage        http://www.sbcl.org
20master_sites    sourceforge
[5621]21use_bzip2       yes
22
[17250]23platform powerpc {
[19369]24                   set bootversion 0.9.15
[17250]25                   distfiles-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix}
26                   checksums-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix} \
[19369]27                        md5 2f0ee82eff649e3862c524fd0705cfc0
[5621]28
[17250]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
[17587]33platform i386     {
[17250]34                   distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
35                   checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
[19368]36                        md5 b7fb206ac82d11ae7aeee8e0cf462c93
[17250]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
[5621]45distname        ${name}-${version}-source
46worksrcdir      ${name}-${version}
47
[8785]48checksums       ${name}-${version}-source${extract.suffix}              \
[21200]49                        md5 fe02f498620bce61a8688d4557a405b0
[5621]50
[17145]51post-patch      { reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
52                            ${worksrcpath}/src/runtime/runtime.c
53                  reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
54                            ${worksrcpath}/doc/sbcl.1
55                }
56
[5649]57use_configure   no
[5621]58
59
60build           { cd ${worksrcpath}
61                  system "ulimit -s 8192"
62
[11384]63                  system "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh ${host_lisp}"
[5621]64                }
65
[8785]66default_variants        +test
[9488]67
[8785]68variant test    { test.run      yes
69                  test.dir      ${worksrcpath}/tests
70                  test.cmd      sh
71                  test.target   run-tests.sh
72                }
[7448]73
[5621]74destroot        { cd ${worksrcpath}
75                  system "INSTALL_ROOT=${destroot}/${prefix} sh install.sh"
76                }
77
Note: See TracBrowser for help on using the repository browser.