spf_template gnu &&
spf_template sourceforge &&
spf_template_sourceforge_project tcl &&
spf_template_sourceforge_pid 10894 &&
spf_template_sourceforge_path /Tcl &&
spf_template_sourceforge_version "${spf_version?}"-src &&
spf_template_sourceforge_src_ext gz &&
spf_url home  'http://www.tcl.tk/' &&
spf_url watch 'http://www.tcl.tk/software/tcltk/download.html' &&
spf_srcdir "${spf_base?}${spf_version?}"/unix &&
spf_depend tcl versions "${spf_version?}" &&
spf_depend xproto                         flags include &&
spf_depend libx11 &&
case ${spf_version?} in
  8.4.*) :;;
  *)
    spf_depend scrnsaverproto degree optional flags include &&
    spf_depend libxext        degree optional &&
    spf_depend libxscrnsaver  degree optional &&
    spf_depend libxrender     degree optional &&
    spf_depend freetype       degree optional &&
    spf_depend fontconfig     degree optional &&
    spf_depend libxft         degree optional &&
    spf_depend zlib           degree optional &&
    spf_hack_self_rpath;;
esac &&
spf_template_gnu_x &&
spf_template_gnu_do_before_configure() {
  set "${spf_path_conf?}"/tcl/compile/src/tcl* &&
  spf_args configure --with-tcl="$1"/unix
} &&
spf_template_gnu_do_after_install() {
  ( cd "${spf_path_prefix?}"/bin &&
    set wish* &&
    ln -s "$1" wish )
} &&
spf_template_gnu_do_check() { make test; } &&
spf_tested_version 8.5.9 &&
spf_tested_version 8.5.8 &&
spf_tested_version 8.5.7 &&
spf_tested_version 8.5.6 &&
spf_tested_version 8.5.5 &&
spf_tested_version 8.4.19

