# fss-0002

main:
  ./configure $CONF --enable-threads --enable-64bit --with-tk=${TC}lib --with-tcl=${TC}lib --with-tclinclude=${TC}include $TARGET
  sed -i -e 's|/tclsh8.5|tclsh|g' Makefile
  sed -i -e 's|/wish8.5|wish|g' Makefile
  make
  mkdir -vp tkhtml-$version
  cp -v pkgIndex.tcl tkhtml-$version/
  mv -v tkhtml-$version /lib/tk?.?/
  chgrp e_tk -R /lib/tk?.?
  find /lib/tk?.? -type d -exec chmod g+s '{}' ';'
  rm -Rf /lib/tcl8
