# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit perl-module style="makemaker" DESCRIPTION="The po4a (po for anything) project goal is to ease translations (and more interestingly, the maintenance of translations) using gettext tools on areas where they were not expected like documentation" HOMEPAGE="http://alioth.debian.org/projects/${P}" SRC_URI="http://graal.ens-lyon.fr/~mquinson/debian/dists/unstable/main/source/text/po4a_0.16.3.orig.tar.gz" LICENSE="Artistic | GPL-2" SLOT="0" IUSE="" KEYWORDS="~x86" DEPEND=${DEPEND}" dev-perl/SGMLSpm >=sys-devel/gettext-0.11 dev-perl/libintl-perl app-text/openjade dev-perl/Locale-gettext" src_compile() { echo "DEP:" ${DEPEND} perl-module_src_compile perl-module_src_test || die "test failed" #if we don't touch them, it wants to re-extract the strings and it needs #gettext 0.13 (not in portage at the moment). touch po/bin/{*.po,*.pot} make -C po/bin } src_install() { perl-module_src_install #install locales make -C po/bin install DESTDIR=${D} }