Ticket #16605: Portfile

File Portfile, 3.0 KB (added by jrhope, 16 years ago)

Portfile for mit-scheme.

Line 
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
4PortSystem 1.0
5
6name                    mit-scheme
7version                 20080130
8categories              lang
9maintainers             nomaintainer
10
11description             MIT/GNU Scheme
12
13long_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
21homepage                http://www.gnu.org/software/mit-scheme/
22master_sites            http://ftp.gnu.org/gnu/mit-scheme/snapshot.pkg/${version}/
23distname                ${name}-c-${version}
24extract.suffix          .tar.gz
25checksums               md5 75e11fcba96c9efd49cd283b43d6839a
26
27post-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
51use_configure           no
52
53build.dir               ${worksrcpath}/src
54build.cmd               etc/make-liarc.sh
55build.args              --prefix=${prefix}
56build.target            ""
57
58destroot.dir            ${worksrcpath}/src
59destroot.cmd            make