--- /usr/portage/dev-tcltk/snack/snack-2.2.10.ebuild 2006-09-15 00:06:31.000000000 +0000 +++ /usr/local/portage/linguistics-overlay/dev-tcltk/snack/snack-2.2.10.ebuild 2007-02-06 12:23:28.000000000 +0000 @@ -11,7 +11,7 @@ LICENSE="BSD" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" SLOT="0" -IUSE="alsa python threads vorbis" +IUSE="alsa python threads vorbis examples" RESTRICT="test" # Bug 78354 @@ -45,7 +45,13 @@ cd "${S}"/../python python setup.py install --root="${D}" || die fi - + if use examples ; then + cd "${S}"/.. + sed -i s/wish8.3/wish/g demos/tcl/*tcl + dodir /usr/share/${PN} + insinto /usr/share/${PN} + doins -r demos + fi cd "${S}"/.. dodoc README changes