--- org/efax-gtk-3.0.11.ebuild 2007-04-20 23:36:13.000000000 +0200 +++ files/efax-gtk-3.0.11-r1.ebuild 2007-10-09 18:26:23.000000000 +0200 @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/efax-gtk/efax-gtk-3.0.11.ebuild,v 1.4 2007/04/20 21:29:01 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/efax-gtk/efax-gtk-3.0.11-r1.ebuild,v 1.4 2007/10/09 12:55:00 gaaap Exp $ DESCRIPTION="GTK+2 frontend for the efax program." HOMEPAGE="http://efax-gtk.sourceforge.net/" @@ -9,7 +9,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc x86" -IUSE="" +IUSE="nls" RDEPEND=">=dev-libs/glib-2 >=dev-libs/libsigc++-2 @@ -26,6 +26,14 @@ # The man page doman efax-gtk.1 + # Native Language Support (NLS) + if use nls; then + for gmo in po/*.gmo; do + cp --force $gmo $(echo $gmo | sed 's:\.g:\.:') + done + domo po/*.mo + fi + # The spool directory and print filter dodir /var/spool/fax fowners lp:lp /var/spool/fax