Ticket #20799: x11_tk_Portfile.das.patch

File x11_tk_Portfile.das.patch, 1.8 KB (added by KubaO (Kuba Ober), 12 years ago)

portfile patch to use github sources [disclaimer: I'm a total ports noob] -- wish starts up OK

  • x11/tk/Portfile

    old new  
    1 # $Id: Portfile 58709 2009-10-03 04:57:22Z jmr@macports.org $
     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$
    23
    34PortSystem      1.0
    45
     
    1415  Ousterhout, Addison-Wesley, ISBN 0-201-63337-X.
    1516
    1617platforms       darwin
    17 master_sites    sourceforge:tcl
     18master_sites    sourceforge:tcl:sf \
     19                http://download.github.com/:git
    1820dist_subdir     tcltk
    19 distname        ${name}${version}-src
    20 worksrcdir      ${name}${version}/unix
     21distname        das-tcltk-50e4270
     22distfiles       ${distname}${extract.suffix}:git
     23#worksrcdir      ${name}${version}/unix
     24worksrcdir      ${distname}/tk/unix
    2125checksums \
    2226  ${distname}${extract.suffix} \
    23     md5     0764f63ae2106b4774c4ecb0ef391610 \
    24     sha1    b5def6871e53c78354ac01b27abd523bb4295158 \
    25     rmd160  8ff412f84ffb76b9b0da5a32f7404c37a5337003 \
     27    md5     fa78b2161381c6740212a6e04927f01d \
     28    sha1    66f7964fcf7c8e319b66ecbd6bd9b32d241e123c \
     29    rmd160  5b4fe9a10d51300ee21bb9c5920e3298e497b416
     30
    2631# suck in Tcl as well so we can use it internally.
    27 distfiles-append    tcl${version}-src${extract.suffix}
     32distfiles-append    tcl${version}-src${extract.suffix}:sf
    2833checksums-append \
    2934  tcl${version}-src${extract.suffix} \
    3035    md5     f70ad8f78b5e4a9f792fe101f22b125f \
     
    4045        port:xorg-libXScrnSaver
    4146
    4247post-patch {
    43     reinplace s|@TCL_SRC_DIR@|${worksrcpath}/../../tcl${version}/|g ${worksrcpath}/Makefile.in
     48    reinplace s|@TCL_SRC_DIR@|${worksrcpath}/../../../tcl${version}/|g ${worksrcpath}/Makefile.in
    4449}
    4550
    4651configure.args      --mandir=${prefix}/share/man --with-tcl=${prefix}/lib