34,42d33 < pkg_setup() { < if has_version ">=dev-lang/lua-5.1.3-r1" && ! built_with_use dev-lang/lua deprecated ; then < eerror "Re-emerge dev-lang/lua with 'depercated' USE flag" < eerror "Check your USE flags, re-emerge the dependencies and then" < eerror "emerge this package." < die < fi < } < 63,81c54 < ## if it is not working nice way, we'll do it ugly way < if use nls ; then < PD="${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PF}" < if ! [ -d ${PD}/image//usr/share/games/locale ] ; then < mkdir -p ${PD}/image//usr/share/locale/ \ < || die "lang mkdir failed" < fi < cd ${S}/po < for i in `ls -c1 |grep "\.gmo$"` ; do < BASE=$(echo ${i} |sed 's/\.gmo$//g') < if ! [ -d ${PD}/image//usr/share/locale/${BASE}/LC_MESSAGES ] ; then < mkdir -p ${PD}/image//usr/share/locale/${BASE}/LC_MESSAGES \ < || die "lang mkdir failed" < fi < msgfmt -v -o ${BASE}.mo ${BASE}.po < mv ${BASE}.gmo ${PD}/image//usr/share/locale/${BASE}/LC_MESSAGES/xmoto.mo \ < || die "unable to copy lang files" < done; < fi --- > 100c73 < elog "http://wiki.xmoto.tuxfamily.org/index.php?title=Inkscape-0.4.0" --- > elog "http://wiki.xmoto.free.fr/index.php?title=Inkscape-0.3.0#Tutorial"