# $Id$ PortSystem 1.0 name tclx version 8.4 revision 1 categories lang maintainers markd description API for parsing XML documents using Tcl long_description ${description} homepage http://tclx.sourceforge.net/ platforms darwin distname ${name}${version} master_sites sourceforge \ macports:markd:tclpheaders distfiles ${distname}.tar.bz2 \ tcl8.4.14-privateheaders.tar.bz2:tclpheaders checksums ${distname}.tar.bz2 md5 395c2fbe35e1723570b005161b9fc8f8 \ tcl8.4.14-privateheaders.tar.bz2 md5 32d173ca361169ea3049c28c936854c8 use_bzip2 yes depends_lib port:tcl \ port:tk configure.cflags-append "-I${prefix}/include" configure.args --enable-shared \ --with-help=Help \ --with-tcl=${prefix}/lib \ --with-tk=${prefix}/lib destroot.target install-binaries install-libraries post-extract { # Private headers from Tcl 8.4.12 file copy -force ${workpath}/tcl8.4.14-privateheaders/generic/tclInt.h \ ${worksrcpath}/generic file copy -force ${workpath}/tcl8.4.14-privateheaders/generic/tclIntDecls.h \ ${worksrcpath}/generic file copy -force ${workpath}/tcl8.4.14-privateheaders/generic/tclIntPlatDecls.h \ ${worksrcpath}/generic file copy -force ${workpath}/tcl8.4.14-privateheaders/unix/tclUnixPort.h \ ${worksrcpath}/unix }