1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="C/C++/C#/D/Java/Pawn code indenter and beautifier"
10 HOMEPAGE="http://uncrustify.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
15 KEYWORDS="amd64 x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
18 DEPEND="test? ( =dev-lang/python-2* )"
22 epatch "${FILESDIR}"/${P}-unistdh.patch
27 python2 run_tests.py || die "tests failed"
31 emake DESTDIR="${D}" install || die "Install failed"
32 dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"