Ticket #37954: Portfile.sbcl-1.1.4.whitespace.diff
File Portfile.sbcl-1.1.4.whitespace.diff, 6.6 KB (added by crossd@…, 12 years ago) |
---|
-
Portfile
old new 1 1 # -*- 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 2 2 # $Id: Portfile 102661 2013-02-06 10:28:23Z easieste@macports.org $ 3 3 4 PortSystem 4 PortSystem 1.0 5 5 6 name 6 name sbcl 7 7 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 8 version 1.1.4 9 revision 0 10 11 categories lang 12 license BSD 13 maintainers openmaintainer easieste gwright 14 platforms darwin 15 description The Steel Bank Common Lisp system 17 16 18 17 long_description \ 19 18 Steel Bank Common Lisp (SBCL) is a Open Source implementation of ANSI \ 20 19 Common Lisp. It provides an interactive environment including an \ 21 20 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 \ 23 22 trades the time for a long initial compilation for blazingly fast loading \ 24 23 of its binary runtime fasl representation.. 25 24 26 25 27 homepage 28 master_sites 29 use_bzip2 26 homepage http://www.sbcl.org 27 master_sites sourceforge 28 use_bzip2 yes 30 29 31 patchfiles 30 patchfiles patch-use-right-gcc.diff 32 31 33 distfiles ${name}-${version}-source${subrevision}${extract.suffix}32 distfiles ${name}-${version}-source${extract.suffix} 34 33 35 distname ${name}-${version}-source${subrevision}36 worksrcdir 34 distname ${name}-${version}-source 35 worksrcdir ${name}-${version} 37 36 38 checksums 39 rmd160525ea2ed2a0547fe8bba499cdb0cc9ef7d04dc6f \40 sha256468bd52f8a15584ffdca2356f6c85b7053a72a321c309dfff37e340d0d4af7cc \37 checksums sbcl-1.1.4-source.tar.bz2 \ 38 rmd160 525ea2ed2a0547fe8bba499cdb0cc9ef7d04dc6f \ 39 sha256 468bd52f8a15584ffdca2356f6c85b7053a72a321c309dfff37e340d0d4af7cc \ 41 40 42 41 platform powerpc { 43 42 set bootversion 1.0.47 44 43 distfiles-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix} 45 44 checksums-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix} \ 46 md5 47 sha1 48 rmd160 45 md5 02747afc7631a7ccdeede4b52b78072d \ 46 sha1 93df00b3120810a086d37666c1ccdeabc8daeb49 \ 47 rmd160 85c76296a1c62db5affdff7e72e61e558bb5c819 49 48 50 49 global host_lisp 51 set host_lisp 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\" " 52 51 } 53 52 54 platform i386 53 platform i386 { 55 54 set bootversion 1.0.55 56 55 distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} 57 56 checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \ 58 md5 59 sha1 60 rmd160 57 md5 941351112392a77dd62bdcb9fb62e4e4 \ 58 sha1 8ea71938c40a6dccfe2d43a86e9b115f4428a218 \ 59 rmd160 97c92e16426fb4e7eb9e649e21714c342703d17b \ 61 60 62 61 global host_lisp 63 set host_lisp 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\" " 64 63 } 65 64 66 post-patch 65 post-patch { 67 66 reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \ 68 67 ${worksrcpath}/doc/sbcl.1 69 68 } 70 69 71 use_configure 70 use_configure no 72 71 73 build 72 build { 74 73 reinplace s|CC=gcc|CC=${configure.cc}| ${worksrcpath}/contrib/asdf-module.mk 75 74 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}" 76 75 } … … 85 84 patchfiles-append patch-make-doc.diff 86 85 depends_build-append bin:texi2dvi:texinfo 87 86 depends_build-append bin:makeinfo:texinfo 88 } 87 } 89 88 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 } 89 variant 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 } 96 94 97 95 global make_sh_options 98 96 set make_sh_options "" … … 102 100 } 103 101 104 102 variant fancy conflicts threads description {Configure SBCL compilation with all available compatible options (including threading).} { 105 set 103 set make_sh_options --fancy 106 104 } 107 105 108 test.run 109 test.dir 110 test.cmd 111 test.target 106 test.run yes 107 test.dir ${worksrcpath}/tests 108 test.cmd CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} sh 109 test.target run-tests.sh 112 110 113 destroot {111 destroot { 114 112 system "cd ${worksrcpath}; INSTALL_ROOT=${destroot}${prefix} sh ${worksrcpath}/install.sh" 115 113 } 116 114 117 livecheck.url 118 livecheck.regex 115 livecheck.url http://sourceforge.net/api/file/index/project-id/1373/rss?path=%2F${name} 116 livecheck.regex ${name}-(\\d+(\\.\\d+)+)-