summaryrefslogtreecommitdiff
blob: 899b2b873c8f9cb4c3e0ceab56844ac1378acde6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=4

DESCRIPTION="a cpp directive indenter"
HOMEPAGE="https://savannah.gnu.org/projects/cppi"
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="nls"

CPPI_LINGUAS="de eo fi fr hr it ja pl sr sv uk vi"
for  lingua in ${CPPI_LINGUAS}; do
	IUSE+=" linguas_${lingua}"
done

DEPEND="
	app-arch/xz-utils
	nls? ( sys-devel/gettext )
"

DOCS=( AUTHORS ChangeLog NEWS THANKS TODO )

src_configure() {
	econf $(use_enable nls)
}