Ticket #21779: Portfile.diff

File Portfile.diff, 3.5 KB (added by jmroot (Joshua Root), 15 years ago)

WIP update to 20090107

  • Portfile

     
    44PortSystem 1.0
    55
    66name                    mit-scheme
    7 version                 20080130
    8 revision                2
     7version                 20090107
    98categories              lang
    109platforms               darwin
    1110maintainers             nomaintainer
     
    2120                        development cycle.
    2221
    2322homepage                http://www.gnu.org/software/mit-scheme/
    24 master_sites            http://ftp.gnu.org/gnu/mit-scheme/snapshot.pkg/${version}/
     23master_sites            gnu:${name}/snapshot.pkg/${version}/
    2524distname                ${name}-c-${version}
    26 checksums               md5 75e11fcba96c9efd49cd283b43d6839a
     25checksums               md5 55cc891cf6321ae71506c8699204d165 \
     26                        sha1 7c73cff5a48e6bb83c8c36fb895bd70ab1482251
    2727
    2828depends_lib \
    2929    port:xorg-libX11
    3030
     31worksrcdir              ${worksrcdir}/src
     32
     33patchfiles              patch-src_microcode_configure.diff
    3134post-patch  {
    3235    reinplace "s|/usr/local|${prefix}|g" \
    33         ${worksrcpath}/doc/configure \
    34         ${worksrcpath}/doc/ref-manual/os-interface.texi \
    35         ${worksrcpath}/doc/scheme.1 \
    36         ${worksrcpath}/doc/user-manual/user.texinfo \
    37         ${worksrcpath}/src/6001/edextra.scm \
    38         ${worksrcpath}/src/6001/floppy.scm \
    39         ${worksrcpath}/src/compiler/documentation/porting.guide \
    40         ${worksrcpath}/src/compiler/etc/disload.scm \
    41         ${worksrcpath}/src/configure \
    42         ${worksrcpath}/src/edwin/techinfo.scm \
    43         ${worksrcpath}/src/edwin/unix.scm \
    44         ${worksrcpath}/src/lib/edwin/techinfo.scm \
    45         ${worksrcpath}/src/lib/edwin/unix.scm \
    46         ${worksrcpath}/src/lib/include/configure \
    47         ${worksrcpath}/src/lib/include/option.c \
    48         ${worksrcpath}/src/microcode/configure \
    49         ${worksrcpath}/src/microcode/option.c \
    50         ${worksrcpath}/src/README.txt \
    51         ${worksrcpath}/src/swat/c/tk3.2-custom/Makefile \
    52         ${worksrcpath}/src/swat/c/tk3.2-custom/tcl/Makefile \
    53         ${worksrcpath}/src/swat/scheme/other/btest.scm
     36        ${worksrcpath}/6001/edextra.scm \
     37        ${worksrcpath}/6001/floppy.scm \
     38        ${worksrcpath}/compiler/documentation/porting.guide \
     39        ${worksrcpath}/compiler/etc/disload.scm \
     40        ${worksrcpath}/configure \
     41        ${worksrcpath}/edwin/techinfo.scm \
     42        ${worksrcpath}/edwin/unix.scm \
     43        ${worksrcpath}/lib/edwin/techinfo.scm \
     44        ${worksrcpath}/lib/edwin/unix.scm \
     45        ${worksrcpath}/lib/include/configure \
     46        ${worksrcpath}/lib/include/option.c \
     47        ${worksrcpath}/microcode/configure \
     48        ${worksrcpath}/microcode/option.c \
     49        ${worksrcpath}/README.txt \
     50        ${worksrcpath}/swat/c/tk3.2-custom/Makefile \
     51        ${worksrcpath}/swat/c/tk3.2-custom/tcl/Makefile \
     52        ${worksrcpath}/swat/scheme/other/btest.scm
    5453}
    5554
    56 use_configure           no
     55if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     56    configure.args-append --build=${build_arch}-apple-darwin${os.major}
     57}
    5758
    5859use_parallel_build      no
    5960
    60 build.dir               ${worksrcpath}/src
    61 build.cmd               etc/make-liarc.sh
    62 build.args              --prefix=${prefix}
    63 build.target
    64 
    65 destroot.cmd            make
    66 
    6761livecheck.url           http://ftp.gnu.org/gnu/${name}/snapshot.pkg/
    6862livecheck.type          regex
    6963livecheck.regex         {([0-9.]+)/}