Ticket #20799: x11_tk_Portfile.das.patch
File x11_tk_Portfile.das.patch, 1.8 KB (added by KubaO (Kuba Ober), 15 years ago) |
---|
-
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$ 2 3 3 4 PortSystem 1.0 4 5 … … 14 15 Ousterhout, Addison-Wesley, ISBN 0-201-63337-X. 15 16 16 17 platforms darwin 17 master_sites sourceforge:tcl 18 master_sites sourceforge:tcl:sf \ 19 http://download.github.com/:git 18 20 dist_subdir tcltk 19 distname ${name}${version}-src 20 worksrcdir ${name}${version}/unix 21 distname das-tcltk-50e4270 22 distfiles ${distname}${extract.suffix}:git 23 #worksrcdir ${name}${version}/unix 24 worksrcdir ${distname}/tk/unix 21 25 checksums \ 22 26 ${distname}${extract.suffix} \ 23 md5 0764f63ae2106b4774c4ecb0ef391610 \ 24 sha1 b5def6871e53c78354ac01b27abd523bb4295158 \ 25 rmd160 8ff412f84ffb76b9b0da5a32f7404c37a5337003 \ 27 md5 fa78b2161381c6740212a6e04927f01d \ 28 sha1 66f7964fcf7c8e319b66ecbd6bd9b32d241e123c \ 29 rmd160 5b4fe9a10d51300ee21bb9c5920e3298e497b416 30 26 31 # suck in Tcl as well so we can use it internally. 27 distfiles-append tcl${version}-src${extract.suffix} 32 distfiles-append tcl${version}-src${extract.suffix}:sf 28 33 checksums-append \ 29 34 tcl${version}-src${extract.suffix} \ 30 35 md5 f70ad8f78b5e4a9f792fe101f22b125f \ … … 40 45 port:xorg-libXScrnSaver 41 46 42 47 post-patch { 43 reinplace s|@TCL_SRC_DIR@|${worksrcpath}/../../ tcl${version}/|g ${worksrcpath}/Makefile.in48 reinplace s|@TCL_SRC_DIR@|${worksrcpath}/../../../tcl${version}/|g ${worksrcpath}/Makefile.in 44 49 } 45 50 46 51 configure.args --mandir=${prefix}/share/man --with-tcl=${prefix}/lib