Ticket #12099: tk-8.4.15.diff
File tk-8.4.15.diff, 2.7 KB (added by pipping@…, 17 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name tk 5 version 8.4.14 6 revision 1 5 version 8.4.15 7 6 categories x11 8 7 maintainers nomaintainer@macports.org 9 8 description Tcl Tool Kit 10 long_description This is Tk version ${version}, a GUI toolkit for Tcl. \ 11 The best way to get started with Tcl is to read \ 12 ``Tcl and the Tk Toolkit'' by John K. Ousterhout, \ 13 Addison-Wesley, ISBN 0-201-63337-X. 9 long_description \ 10 This is Tk version ${version}, a GUI toolkit for Tcl. The best way to get \ 11 started with Tcl is to read ``Tcl and the Tk Toolkit'' by John K. \ 12 Ousterhout, Addison-Wesley, ISBN 0-201-63337-X. 13 14 14 platforms darwin 15 15 master_sites sourceforge:tcl 16 16 dist_subdir tcltk 17 17 distname ${name}${version}-src 18 18 worksrcdir ${name}${version}/unix 19 checksums ${distname}${extract.suffix} md5 d12f591f5689f95c82bfb9c1015407bb \ 20 sha1 d3a8d1240fe37408a3d39613cb1d845764b7a5b1 \ 21 rmd160 055ea75b91fe0e33ac9d96bd3b9099622008820e 19 checksums \ 20 ${distname}${extract.suffix} \ 21 md5 68777568d818e1980dda4b6b02b92f1a \ 22 sha1 832b39fc3e64dcbbfff4fc192e33d3fc8ef76c43 \ 23 rmd160 8facb8033ce811097a3568373581687a749dda2d 22 24 # suck in Tcl as well so we can use it internally. 23 25 distfiles-append tcl${version}-src${extract.suffix} 24 checksums-append tcl${version}-src${extract.suffix} md5 51c6bf74d3ffdb0bd866ecdac6ff6460 \ 25 sha1 d7af7e0c7ed563e2344dda04bbe49961589244dd \ 26 rmd160 392a4f4617ee77cfdae10b24e9ccbe84afed0a40 26 checksums-append \ 27 tcl${version}-src${extract.suffix} \ 28 md5 5e1b71eef1f75a294072aa3218f62b66 \ 29 sha1 fbfae3ca68633a10b3fe870018588ade0944caed \ 30 rmd160 b6b41cb5ae18744ba5aa7fdf3d64277d97d8546e 31 27 32 destroot.destdir INSTALL_ROOT=${destroot} 28 33 configure.args --mandir=${prefix}/share/man --with-tcl=${prefix}/lib 29 34 # force usage of DP Tcl 30 35 depends_lib port:tcl lib:libX11.6:XFree86 31 36 32 configure.env CFLAGS=-I${worksrcpath}/../../tcl${version}/generic 37 configure.cppflags-append \ 38 -I${worksrcpath}/../../tcl${version}/generic 33 39 34 40 variant aqua { 35 41 configure.args-append --enable-aqua … … 41 47 42 48 post-destroot { 43 49 cd ${destroot}${prefix}/bin 44 system "ln -s ${prefix}/bin/wish8.4 wish"50 ln -s ${prefix}/bin/wish8.4 wish 45 51 cd ${destroot}${prefix}/lib 46 system "ln -s ${prefix}/lib/libtk8.4.dylib libtk.dylib"52 ln -s ${prefix}/lib/libtk8.4.dylib libtk.dylib 47 53 48 54 # For some reason the aqua variant installs old X11 headers -> delete 49 55 if {[variant_isset aqua]} {