1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name sbcl |
---|
6 | version 2.2.2 |
---|
7 | revision 0 |
---|
8 | homepage http://www.sbcl.org |
---|
9 | categories lang |
---|
10 | license BSD |
---|
11 | maintainers nomaintainer |
---|
12 | platforms darwin |
---|
13 | supported_archs ppc |
---|
14 | description Experimental SBCL portfile targetting PowerMacs. |
---|
15 | |
---|
16 | master_sites sourceforge:project/sbcl/sbcl/${version}:sbcl |
---|
17 | use_bzip2 yes |
---|
18 | distfiles ${name}-${version}-source${extract.suffix}:sbcl |
---|
19 | worksrcdir ${name}-${version} |
---|
20 | |
---|
21 | checksums ${name}-${version}-source${extract.suffix} \ |
---|
22 | rmd160 4960ccd562302f3223e2db7d32b9ecc50cf76536 \ |
---|
23 | sha256 8790dbbe97711dce14bb823125ce5b185b0073cf2f3cbf37bdd1ad380e7950f6 \ |
---|
24 | size 6716272 |
---|
25 | |
---|
26 | patchfiles \ |
---|
27 | patch-contrib-sb-posix-posix-tests.lisp.diff \ |
---|
28 | patch-sbcl-realtime.diff |
---|
29 | |
---|
30 | #### BOOTSTRAP BINARY #### |
---|
31 | |
---|
32 | # Note: this will fail due to one STYLE-WARNING when compiling GENESIS. |
---|
33 | # If the STYLE-WARNING is: |
---|
34 | # - not signalled (as in SBCL 2.2.2) |
---|
35 | # - ignored (as in SBCL 1.0.47) |
---|
36 | # then the build proceeds fine. |
---|
37 | set boot_ver 1.0.47 |
---|
38 | set boot_dist ${name}-${boot_ver}-powerpc-darwin |
---|
39 | set boot_home ${workpath}/${boot_dist} |
---|
40 | |
---|
41 | master_sites-append sourceforge:project/sbcl/sbcl/${boot_ver}:boot |
---|
42 | distfiles-append ${boot_dist}-binary${extract.suffix}:boot |
---|
43 | checksums-append ${boot_dist}-binary${extract.suffix} \ |
---|
44 | rmd160 85c76296a1c62db5affdff7e72e61e558bb5c819 \ |
---|
45 | sha256 6971a64c0706894f217da676081874088f50f84daa66d89b653b065f83563f3b \ |
---|
46 | size 8217590 |
---|
47 | |
---|
48 | global host_lisp |
---|
49 | set host_lisp "\"${boot_home}/src/runtime/sbcl --core ${boot_home}/output/sbcl.core --sysinit /dev/null --userinit /dev/null\" " |
---|
50 | |
---|
51 | ########################## |
---|
52 | |
---|
53 | use_configure no |
---|
54 | |
---|
55 | global make_sh_options |
---|
56 | set make_sh_options "" |
---|
57 | variant fancy description {Build SBCL with all available contribs.} { |
---|
58 | known_fail yes |
---|
59 | set make_sh_options --fancy |
---|
60 | } |
---|
61 | |
---|
62 | build { |
---|
63 | system -W ${worksrcpath} "SBCL_MACOSX_VERSION_MIN=${macosx_deployment_target} CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} sh ./make.sh ${make_sh_options} --prefix=${prefix} --xc-host=${host_lisp}" |
---|
64 | } |
---|
65 | |
---|
66 | test.run yes |
---|
67 | test.dir ${worksrcpath}/tests |
---|
68 | test.cmd CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} sh |
---|
69 | test.target run-tests.sh |
---|
70 | |
---|
71 | destroot { |
---|
72 | system -W ${worksrcpath} "INSTALL_ROOT=${destroot}${prefix} sh ${worksrcpath}/install.sh" |
---|
73 | } |
---|
74 | |
---|
75 | notes " |
---|
76 | Support for Darwin/PowerPC has been dropped as of SBCL 2.2.3. |
---|
77 | This port will likely not be updated with a future release of SBCL. |
---|
78 | " |
---|