# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-tex/serienbrief/serienbrief-0.2.ebuild,v 1.2 2006/08/29 12:51:38 nattfodd Exp $ DESCRIPTION="Easy creation of form letters written in LaTeX" HOMEPAGE="http://www.nasauber.de/downloads/?programm=serienbrief" SRC_URI="http://www.nasauber.de/downloads/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" LINS=("de") for ((i=0; i<${#LINS[@]}; i++)) do IUSE="${IUSE} linguas_${LINS[$i]}" done KEYWORDS="~x86" DEPEND="" RDEPEND=">=dev-lang/perl-5.8.6 >=perl-core/Getopt-Long-2.34 >=dev-perl/Term-ANSIColor-1.08 >=dev-perl/Locale-gettext-1.01 virtual/tetex" src_install() { dobin serienbrief doman serienbrief.1 if use linguas_de; then insinto /usr/share/locale/de/LC_MESSAGES doins serienbrief.mo fi dodoc changelog example/* }