Ticket #33203: tclx-Portfile.patch
File tclx-Portfile.patch, 2.9 KB (added by gustafn, 13 years ago) |
---|
-
Portfile
old new 4 4 5 5 name tclx 6 6 version 8.4 7 revision 17 revision 2 8 8 categories lang 9 9 maintainers markd 10 description API for parsing XML documents using Tcl 11 long_description ${description} 10 description Tcl with extended command set 11 long_description {Tclx wxtends Tcl by providing new operating system interface commands, 12 extended file control, scanning and status commands and many others. 13 Considered by many to be a must-have for large Tcl apps.} 12 14 homepage http://tclx.sourceforge.net/ 13 15 platforms darwin 16 dist_subdir tcltk 14 17 distname ${name}${version} 18 19 set tclv 8.5.11 20 15 21 master_sites sourceforge \ 16 macports:markd:tclpheaders22 sourceforge:project/tcl/Tcl/${tclv}:tcl 17 23 distfiles ${distname}.tar.bz2 \ 18 tcl8.4.14-privateheaders.tar.bz2:tclpheaders 19 checksums ${distname}.tar.bz2 md5 395c2fbe35e1723570b005161b9fc8f8 \ 20 tcl8.4.14-privateheaders.tar.bz2 md5 32d173ca361169ea3049c28c936854c8 21 use_bzip2 yes 24 tcl${tclv}-src.tar.gz:tcl 25 checksums ${distname}.tar.bz2 \ 26 md5 395c2fbe35e1723570b005161b9fc8f8 \ 27 sha1 f75c0b6c77748fc0a6183e25984f8202268d1b78 \ 28 rmd160 96c10fdebfe97f4d2c59b61d1116ca0b3efddf7b \ 29 tcl${tclv}-src.tar.gz \ 30 md5 b01a9691c83990b3db0ce62d1012ca67 \ 31 sha1 cb70dcfb7625389afd774e0438a7ade3e7aa13c8 \ 32 rmd160 36140b5e8365c190202132dd6f0dfeb831ea9bc8 22 33 23 depends_lib port:tcl \ 24 port:tk 34 use_bzip2 yes 35 extract.only ${distname}.tar.bz2 36 post-extract { 37 system -W ${distpath} "gnutar xvfz tcl${tclv}-src.tar.gz -C ${workpath}" 38 } 25 39 26 configure.cflags-append "-I${prefix}/include" 40 depends_lib port:tcl 27 41 42 configure.cflags "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix" 28 43 configure.args --enable-shared \ 29 44 --with-help=Help \ 30 45 --with-tcl=${prefix}/lib \ 31 --with-t k=${prefix}/lib46 --with-tclinclude=${workpath}/tcl${tclv}/generic/ 32 47 33 48 destroot.target install-binaries install-libraries 34 35 post-extract {36 # Private headers from Tcl 8.4.1237 file copy -force ${workpath}/tcl8.4.14-privateheaders/generic/tclInt.h \38 ${worksrcpath}/generic39 file copy -force ${workpath}/tcl8.4.14-privateheaders/generic/tclIntDecls.h \40 ${worksrcpath}/generic41 file copy -force ${workpath}/tcl8.4.14-privateheaders/generic/tclIntPlatDecls.h \42 ${worksrcpath}/generic43 file copy -force ${workpath}/tcl8.4.14-privateheaders/unix/tclUnixPort.h \44 ${worksrcpath}/unix45 }