10 | | long_description XOTcl (XOTcl, pronounced exotickle) is an object-oriented scripting language based on MIT's OTcl. It is intended as a value added replacement for OTcl. |
| 10 | long_description Extended Object Tcl (for short: XOTcl, pronounced exotickle) is an \ |
| 11 | object-oriented scripting language based on Tcl. It was originally \ |
| 12 | designed for providing language support for design patterns and provides \ |
| 13 | novel constructs such as filters or transitive mixin classes. \ |
| 14 | The language is designed for empowering rather than constraining \ |
| 15 | system developers. The basic object model is highly influenced by CLOS. |
16 | | worksrcdir ${name}-${version}/unix |
17 | | depends_lib lib:libtk8.4:tk |
| 20 | worksrcdir ${name}-${version}/ |
| 21 | depends_lib lib:libtk8.5:tk |
| 22 | |
| 23 | # Set tclv and md5 checksum to the current MacPorts Tcl port version, though port doesn't |
| 24 | # break if they aren't in sync. |
| 25 | |
| 26 | set tclv 8.5.9 |
| 27 | |
| 28 | distfiles ${distname}.tar.gz:xotcl \ |
| 29 | tcl${tclv}-src.tar.gz:tcl |
| 30 | checksums ${distname}.tar.gz md5 bb044369dba3699f86d86ca89e63193d \ |
| 31 | tcl${tclv}-src.tar.gz md5 8512d8db3233041dd68a81476906012a |
20 | | set tclconfig ${prefix}/lib |
21 | | configure.args --enable-threads --with-tcl=${tclconfig} --with-tk=${prefix}/lib |
| 34 | set tclconfig ${prefix}/lib |
| 35 | configure.cflags "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix" |
| 36 | configure.args --enable-threads --with-tcl=${tclconfig} --with-tk=${prefix}/lib \ |
| 37 | --with-xotclsh \ |
| 38 | --mandir=${prefix}/share/man \ |
| 39 | --with-tcl=${prefix}/lib \ |
| 40 | --with-tclinclude=${workpath}/tcl${tclv}/generic/ |
| 41 | |
| 42 | dist_subdir tcltk |
| 43 | distname ${name}${version} |
| 44 | |
| 45 | test.run yes |
| 46 | test.target test |
| 47 | use_parallel_build no |
| 48 | No newline at end of file |