summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/serienbrief/serienbrief-0.2.ebuild')
-rw-r--r--dev-tex/serienbrief/serienbrief-0.2.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/dev-tex/serienbrief/serienbrief-0.2.ebuild b/dev-tex/serienbrief/serienbrief-0.2.ebuild
index 8d3eb2c84328..a91d8a86a229 100644
--- a/dev-tex/serienbrief/serienbrief-0.2.ebuild
+++ b/dev-tex/serienbrief/serienbrief-0.2.ebuild
@@ -1,6 +1,6 @@
# 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.1 2006/07/25 09:18:26 nattfodd Exp $
+# $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"
@@ -9,6 +9,11 @@ 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"
@@ -22,7 +27,9 @@ RDEPEND=">=dev-lang/perl-5.8.6
src_install() {
dobin serienbrief
doman serienbrief.1
- insinto /usr/share/locale/de/LC_MESSAGES
- doins serienbrief.mo
+ if use linguas_de; then
+ insinto /usr/share/locale/de/LC_MESSAGES
+ doins serienbrief.mo
+ fi
dodoc changelog example/*
}