Ticket #38270: Portfile.diff
File Portfile.diff, 4.3 KB (added by cooljeanius (Eric Gallager), 12 years ago) |
---|
-
Portfile
old new 1 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 # $Id: Portfile 101892 2013-01-21 05:56:34Z larryv@macports.org $2 # $Id: Portfile 94953 2012-07-02 18:40:08Z mww@macports.org $ 3 3 4 4 PortSystem 1.0 5 5 … … 25 25 26 26 # Files needed for basic distribution. 27 27 set srcs [list \ 28 config.tgz 527cb179b48abcf1463089d168b171fd05eb814d \29 cm.tgz a4310413102c5649ed43d92962ffa307ebec4a39 \30 compiler.tgz efd03a1cc84104c22776f56dca67e0ae5e9145e8 \31 runtime.tgz dd81ce2963ca0ea4b1e92b22c7587d5ae64783f8 \32 system.tgz 0f7536bbdcd6d1584f4dcbf3b30a553d98fb0cb1 \33 MLRISC.tgz 041b6463d98d0effa0afc457fc5b09e74f081b85 \34 smlnj-lib.tgz 33f4d3a8dc653cd015ed15a27776dd0e3f2fbb04 \35 28 ckit.tgz 0dbca80174f969a549d85ef3e15a4a8ecce7ed22 \ 36 nlffi.tgz b881390f58df7bbc5d84c45eec20af7fcfbfa40c \ 37 cml.tgz 8938aa0685453c16f57bae23e96ed23b1409f419 \ 38 eXene.tgz f8608de797634faaad632fbdfd43838c4de85e42 \ 39 ml-lpt.tgz d0b68f304a5e29173a9599a3959c12e84ea479ee \ 40 ml-lex.tgz 6557d928f85b28938d4c299925835a6d5eb1e68b \ 41 ml-yacc.tgz 1bec52fbc6557dcd7d4363a1ae13be540bfc89a5 \ 42 ml-burg.tgz 202f62c604e6d11b0ebed82ce78210a8e5224a9d \ 43 pgraph.tgz 7b6425de5ca1648caf230dea5e8db34f90b481c9 \ 44 trace-debug-profile.tgz c828e9d2728171a5d087a41fcbb923ac460a9d50 \ 45 heap2asm.tgz 49c81c4343db2095fe7c28ae5ef40086d225421c \ 46 smlnj-c.tgz adbc3874f8715d53bc1f032047c3289cff0af8e9 \ 29 cml.tgz 8938aa0685453c16f57bae23e96ed23b1409f419 \ 30 cm.tgz a4310413102c5649ed43d92962ffa307ebec4a39 \ 31 compiler.tgz efd03a1cc84104c22776f56dca67e0ae5e9145e8 \ 32 config.tgz 527cb179b48abcf1463089d168b171fd05eb814d \ 33 eXene.tgz f8608de797634faaad632fbdfd43838c4de85e42 \ 34 heap2asm.tgz 49c81c4343db2095fe7c28ae5ef40086d225421c \ 35 ml-burg.tgz 202f62c604e6d11b0ebed82ce78210a8e5224a9d \ 36 ml-lex.tgz 6557d928f85b28938d4c299925835a6d5eb1e68b \ 37 ml-lpt.tgz d0b68f304a5e29173a9599a3959c12e84ea479ee \ 38 MLRISC.tgz 041b6463d98d0effa0afc457fc5b09e74f081b85 \ 39 ml-yacc.tgz 1bec52fbc6557dcd7d4363a1ae13be540bfc89a5 \ 40 nlffi.tgz b881390f58df7bbc5d84c45eec20af7fcfbfa40c \ 41 pgraph.tgz 7b6425de5ca1648caf230dea5e8db34f90b481c9 \ 42 runtime.tgz dd81ce2963ca0ea4b1e92b22c7587d5ae64783f8 \ 43 smlnj-c.tgz adbc3874f8715d53bc1f032047c3289cff0af8e9 \ 44 smlnj-lib.tgz 33f4d3a8dc653cd015ed15a27776dd0e3f2fbb04 \ 45 system.tgz 0f7536bbdcd6d1584f4dcbf3b30a553d98fb0cb1 \ 46 trace-debug-profile.tgz c828e9d2728171a5d087a41fcbb923ac460a9d50 \ 47 47 ] 48 48 49 49 foreach {tarball checksum} $srcs { … … 55 55 # Platform-specific boot code (omitted: sparc-unix, x86-win32) 56 56 platform powerpc { 57 57 distfiles-append boot.ppc-unix.tgz 58 checksums-append boot.ppc-unix.tgz sha1 78e2aa861a2861c8a0e0678936a4b5d29a64597958 checksums-append boot.ppc-unix.tgz sha1 815447275d6321f85b6c97e84aa223f6d710b516 59 59 } 60 60 platform i386 { 61 61 distfiles-append boot.x86-unix.tgz … … 74 74 extract.only config.tgz 75 75 76 76 ### patch ### 77 patchfiles patch-install.sh.diff78 77 79 78 ### configure ### 80 79 configure { 81 80 reinplace "s|SRCARCHIVEURL=.*|SRCARCHIVEURL=file://${distpath}|" \ 82 81 ${worksrcpath}/config/srcarchiveurl 82 reinplace "s|#request src-smlnj|request src-smlnj|" \ 83 ${worksrcpath}/config/targets 84 reinplace "s|#request eXene|request eXene" \ 85 ${worksrcpath}/config/targets 86 reinplace "s|#request mlrisc-tools|request mlrisc-tools|" \ 87 ${worksrcpath}/config/targets 88 reinplace "s|#request heap2asm |request heap2asm|" \ 89 ${worksrcpath}/config/targets 83 90 84 reinplace "s|#request|request|" ${worksrcpath}/config/targets85 reinplace "s|request ml-antlr-grm-ext|#request ml-antlr-grm-ext|" ${worksrcpath}/config/targets86 reinplace "s|request ml-lex-lex-ext|#request ml-lex-lex-ext|" ${worksrcpath}/config/targets87 reinplace "s|request ml-lex-mllex-tool|#request ml-lex-mllex-tool|" ${worksrcpath}/config/targets88 91 } 89 92 90 93 ### build ###