summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-10-01 17:43:44 +0000
committerFabian Groffen <grobian@gentoo.org>2009-10-01 17:43:44 +0000
commit86e9209abc7a6d63a597a398745ab59b46fae1ad (patch)
treecfbd523c3cb4932dde8af557ad1cd4e2acc2c9b1 /dev-util
parentStable on alpha, bug #284992 (diff)
downloadgentoo-2-86e9209abc7a6d63a597a398745ab59b46fae1ad.tar.gz
gentoo-2-86e9209abc7a6d63a597a398745ab59b46fae1ad.tar.bz2
gentoo-2-86e9209abc7a6d63a597a398745ab59b46fae1ad.zip
Initial version, ebuild by Nick Fortino and Mario Fetka, bug #208199
(Portage version: 2.2.00.14456-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/uncrustify/ChangeLog10
-rw-r--r--dev-util/uncrustify/metadata.xml9
-rw-r--r--dev-util/uncrustify/uncrustify-0.52.ebuild25
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/uncrustify/ChangeLog b/dev-util/uncrustify/ChangeLog
new file mode 100644
index 000000000000..43dda8244ec1
--- /dev/null
+++ b/dev-util/uncrustify/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-util/uncrustify
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/uncrustify/ChangeLog,v 1.1 2009/10/01 17:43:44 grobian Exp $
+
+*uncrustify-0.52 (01 Oct 2009)
+
+ 01 Oct 2009; Fabian Groffen <grobian@gentoo.org> +uncrustify-0.52.ebuild,
+ +metadata.xml:
+ Initial version, ebuild by Nick Fortino and Mario Fetka, bug #208199
+
diff --git a/dev-util/uncrustify/metadata.xml b/dev-util/uncrustify/metadata.xml
new file mode 100644
index 000000000000..6353361992ec
--- /dev/null
+++ b/dev-util/uncrustify/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>grobian@gentoo.org</email>
+ <name>Fabian Groffen</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-util/uncrustify/uncrustify-0.52.ebuild b/dev-util/uncrustify/uncrustify-0.52.ebuild
new file mode 100644
index 000000000000..2344dea40936
--- /dev/null
+++ b/dev-util/uncrustify/uncrustify-0.52.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/uncrustify/uncrustify-0.52.ebuild,v 1.1 2009/10/01 17:43:44 grobian Exp $
+
+DESCRIPTION="C/C++/C#/D/Java/Pawn code indenter and beautifier"
+HOMEPAGE="http://uncrustify.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc-macos ~x86-solaris"
+IUSE="test"
+
+DEPEND="test? ( dev-lang/python )"
+RDEPEND=""
+
+src_test() {
+ cd tests
+ ./run_tests.py || die "tests failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+ dodoc AUTHORS BUGS NEWS README || die "dodoc failed"
+}