Ticket #37954: Portfile.sbcl-1.1.4.whitespace.diff

File Portfile.sbcl-1.1.4.whitespace.diff, 6.6 KB (added by crossd@…, 11 years ago)
  • Portfile

    old new  
    11# -*- mode: tcl; coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- # vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
    22# $Id: Portfile 102661 2013-02-06 10:28:23Z easieste@macports.org $
    33
    4 PortSystem 1.0
     4PortSystem      1.0
    55
    6 name        sbcl
     6name            sbcl
    77
    8 version           1.1.4
    9 revision          0
    10 set subrevision   ""
    11 
    12 categories  lang
    13 license     BSD
    14 maintainers openmaintainer easieste gwright
    15 platforms   darwin
    16 description The Steel Bank Common Lisp system
     8version         1.1.4
     9revision        0
     10
     11categories      lang
     12license         BSD
     13maintainers     openmaintainer easieste gwright
     14platforms       darwin
     15description     The Steel Bank Common Lisp system
    1716
    1817long_description \
    1918    Steel Bank Common Lisp (SBCL) is a Open Source implementation of ANSI \
    2019    Common Lisp. It provides an interactive environment including an \
    2120    integrated native compiler, interpreter, and debugger. SBCL is quite \
    22     suitable for the creation of long running system services, as the compiler  \
     21    suitable for the creation of long running system services, as the compiler \
    2322    trades the time for a long initial compilation for blazingly fast loading \
    2423    of its binary runtime fasl representation..
    2524
    2625
    27 homepage        http://www.sbcl.org
    28 master_sites    sourceforge
    29 use_bzip2       yes
     26homepage        http://www.sbcl.org
     27master_sites    sourceforge
     28use_bzip2       yes
    3029
    31 patchfiles  patch-use-right-gcc.diff
     30patchfiles      patch-use-right-gcc.diff
    3231
    33 distfiles   ${name}-${version}-source${subrevision}${extract.suffix}
     32distfiles       ${name}-${version}-source${extract.suffix}
    3433
    35 distname    ${name}-${version}-source${subrevision}
    36 worksrcdir  ${name}-${version}
     34distname        ${name}-${version}-source
     35worksrcdir      ${name}-${version}
    3736
    38 checksums           sbcl-1.1.4-source.tar.bz2 \
    39     rmd160 525ea2ed2a0547fe8bba499cdb0cc9ef7d04dc6f \
    40     sha256 468bd52f8a15584ffdca2356f6c85b7053a72a321c309dfff37e340d0d4af7cc \
     37checksums       sbcl-1.1.4-source.tar.bz2 \
     38                rmd160 525ea2ed2a0547fe8bba499cdb0cc9ef7d04dc6f \
     39                sha256 468bd52f8a15584ffdca2356f6c85b7053a72a321c309dfff37e340d0d4af7cc \
    4140
    4241platform powerpc {
    4342    set bootversion 1.0.47
    4443    distfiles-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix}
    4544    checksums-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix} \
    46         md5     02747afc7631a7ccdeede4b52b78072d \
    47         sha1    93df00b3120810a086d37666c1ccdeabc8daeb49 \
    48         rmd160  85c76296a1c62db5affdff7e72e61e558bb5c819
     45        md5     02747afc7631a7ccdeede4b52b78072d \
     46        sha1    93df00b3120810a086d37666c1ccdeabc8daeb49 \
     47        rmd160  85c76296a1c62db5affdff7e72e61e558bb5c819
    4948
    5049    global host_lisp
    51     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\" "
     50    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\" "
    5251}
    5352
    54 platform i386     {
     53platform i386 {
    5554    set bootversion 1.0.55
    5655    distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
    5756    checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
    58         md5     941351112392a77dd62bdcb9fb62e4e4 \
    59         sha1    8ea71938c40a6dccfe2d43a86e9b115f4428a218 \
    60         rmd160  97c92e16426fb4e7eb9e649e21714c342703d17b \
     57        md5     941351112392a77dd62bdcb9fb62e4e4 \
     58        sha1    8ea71938c40a6dccfe2d43a86e9b115f4428a218 \
     59        rmd160  97c92e16426fb4e7eb9e649e21714c342703d17b \
    6160
    6261    global host_lisp
    63     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\" "
     62    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\" "
    6463}
    6564
    66 post-patch  {
     65post-patch {
    6766    reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
    6867        ${worksrcpath}/doc/sbcl.1
    6968}
    7069
    71 use_configure   no
     70use_configure   no
    7271
    73 build       {
     72build {
    7473    reinplace s|CC=gcc|CC=${configure.cc}| ${worksrcpath}/contrib/asdf-module.mk
    7574    system "ulimit -s 8192 && unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && cd ${worksrcpath} && export CC && CC=${configure.cc} && export CXX && CXX=${configure.cxx} && export CPP && CPP==${configure.cpp} && sh ./make.sh ${make_sh_options} --prefix=${prefix} --xc-host=${host_lisp}"
    7675}
     
    8584    patchfiles-append patch-make-doc.diff
    8685    depends_build-append bin:texi2dvi:texinfo
    8786    depends_build-append bin:makeinfo:texinfo
    88 } 
     87}
    8988
    90 variant pdf conflicts html description {Installs documentation in PDF, HTML and Info formats.
    91     Involves the installation of a TexLive dependency chain, which can dramatically slow down the installation of the SBCL port.} {
    92         depends_build-append bin:dvips:texlive
    93         depends_build-append bin:texi2dvi:texinfo
    94         depends_build-append bin:makeinfo:texinfo
    95     }
     89variant pdf conflicts html description {Installs documentation in PDF, HTML and Info formats.  Involves the installation of a TexLive dependency chain, which can dramatically slow down the installation of the SBCL port.} {
     90    depends_build-append bin:dvips:texlive
     91    depends_build-append bin:texi2dvi:texinfo
     92    depends_build-append bin:makeinfo:texinfo
     93}
    9694
    9795global make_sh_options
    9896set make_sh_options ""
     
    102100}
    103101
    104102variant fancy conflicts threads description {Configure SBCL compilation with all available compatible options (including threading).} {
    105     set                               make_sh_options --fancy
     103    set make_sh_options --fancy
    106104}
    107105
    108 test.run    yes
    109 test.dir    ${worksrcpath}/tests
    110 test.cmd    CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} sh
    111 test.target run-tests.sh
     106test.run        yes
     107test.dir        ${worksrcpath}/tests
     108test.cmd        CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} sh
     109test.target     run-tests.sh
    112110
    113 destroot    {
     111destroot {
    114112    system "cd ${worksrcpath}; INSTALL_ROOT=${destroot}${prefix} sh ${worksrcpath}/install.sh"
    115113}
    116114
    117 livecheck.url       http://sourceforge.net/api/file/index/project-id/1373/rss?path=%2F${name}
    118 livecheck.regex     ${name}-(\\d+(\\.\\d+)+)-
     115livecheck.url   http://sourceforge.net/api/file/index/project-id/1373/rss?path=%2F${name}
     116livecheck.regex ${name}-(\\d+(\\.\\d+)+)-