1 | # -*- coding: utf-8; mode: tcl; 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 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name mit-scheme |
---|
7 | version 20080130 |
---|
8 | categories lang |
---|
9 | maintainers nomaintainer |
---|
10 | |
---|
11 | description MIT/GNU Scheme |
---|
12 | |
---|
13 | long_description MIT/GNU Scheme is an implementation of the \ |
---|
14 | Scheme programming language, providing an \ |
---|
15 | interpreter, compiler, source-code debugger, \ |
---|
16 | integrated Emacs-like editor, and a large \ |
---|
17 | runtime library. MIT/GNU Scheme is best suited \ |
---|
18 | to programming large applications with a rapid \ |
---|
19 | development cycle. |
---|
20 | |
---|
21 | homepage http://www.gnu.org/software/mit-scheme/ |
---|
22 | master_sites http://ftp.gnu.org/gnu/mit-scheme/snapshot.pkg/${version}/ |
---|
23 | distname ${name}-c-${version} |
---|
24 | extract.suffix .tar.gz |
---|
25 | checksums md5 75e11fcba96c9efd49cd283b43d6839a |
---|
26 | |
---|
27 | post-patch { |
---|
28 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/doc/configure |
---|
29 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/doc/ref-manual/os-interface.texi |
---|
30 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/doc/scheme.1 |
---|
31 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/doc/user-manual/user.texinfo |
---|
32 | reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/src/6001/edextra.scm |
---|
33 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/6001/floppy.scm |
---|
34 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/compiler/documentation/porting.guide |
---|
35 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/compiler/etc/disload.scm |
---|
36 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/configure |
---|
37 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/edwin/techinfo.scm |
---|
38 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/edwin/unix.scm |
---|
39 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/lib/edwin/techinfo.scm |
---|
40 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/lib/edwin/unix.scm |
---|
41 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/lib/include/configure |
---|
42 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/lib/include/option.c |
---|
43 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/microcode/configure |
---|
44 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/microcode/option.c |
---|
45 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/README.txt |
---|
46 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/swat/c/tk3.2-custom/Makefile |
---|
47 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/swat/c/tk3.2-custom/tcl/Makefile |
---|
48 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/src/swat/scheme/other/btest.scm |
---|
49 | } |
---|
50 | |
---|
51 | use_configure no |
---|
52 | |
---|
53 | build.dir ${worksrcpath}/src |
---|
54 | build.cmd etc/make-liarc.sh |
---|
55 | build.args --prefix=${prefix} |
---|
56 | build.target "" |
---|
57 | |
---|
58 | destroot.dir ${worksrcpath}/src |
---|
59 | destroot.cmd make |
---|