Ticket #14302: patch-Portfile.2.in

File patch-Portfile.2.in, 1.7 KB (added by akalin@…, 17 years ago)

Portfile patch for Chicken 3.1.0

Line 
1--- Portfile.orig       2008-02-03 00:32:57.000000000 -0800
2+++ Portfile    2008-04-13 13:35:03.000000000 -0700
3@@ -2,7 +2,7 @@
4 
5 PortSystem 1.0
6 name           chicken
7-version                2.6
8+version                3.1.0
9 categories     lang scheme
10 maintainers    arto.bendiken@gmail.com waqar@macports.org
11 description    Compiler for the Scheme programming language
12@@ -13,28 +13,16 @@
13        enhancements and extensions.
14 homepage       http://www.call-with-current-continuation.org/
15 platforms      darwin
16-master_sites   http://www.call-with-current-continuation.org/
17-checksums      sha1 4010d21db1b0d2df3b3ab392503be4bb19073bbd
18-configure.args  --infodir=${prefix}/share/info --mandir=${prefix}/share/man \
19-               --enable-gc-hooks --enable-apply-hook \
20-               --enable-extra-symbol-slot \
21-               --enable-symbol-gc
22-
23-platform darwin 8 {
24-       configure.cflags-append "-I${prefix}/include"
25-}
26-
27-variant no-hooks {
28-       configure.args-delete --enable-gc-hooks --enable-apply-hook
29-       configure.args-append --disable-gc-hooks --disable-apply-hook
30-}
31-
32-variant no-symslot {
33-       configure.args-delete --enable-extra-symbol-slot
34-       configure.args-append --disable-extra-symbol-slot
35-}
36-
37-variant no-symgc {
38-       configure.args-delete --enable-symbol-gc
39-       configure.args-append --disable-symbol-gc
40+master_sites   http://chicken.wiki.br/releases/${version}
41+distfiles      ${distname}${extract.suffix}
42+checksums      md5 a57e659131eddac5db08c00c918ffdb1\
43+               sha1 a5529645df74751a611895e9d32bef78d23a276c\
44+               rmd160 1e1b6dc51f7f876f49b2981c2ff6045461de1854
45+use_configure  no
46+pre-build {
47+       system "cd ${worksrcpath} && ${build.cmd} ${build.args} bootstrap"
48 }
49+build.args     PLATFORM=macosx PREFIX=${prefix}
50+build.post_args        CHICKEN=./chicken-boot
51+use_parallel_build yes
52+destroot.args  PLATFORM=macosx PREFIX=${prefix}