summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-12-17 16:55:21 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-12-17 16:55:21 +0000
commit1d65399b0557a9b6b35673f934154a3dbf87afc7 (patch)
treedccb6209b732692fbbc672b2307b859d423c2a9f /dev-util/bcpp/bcpp-20050725.ebuild
parentVersion bump (diff)
downloadgentoo-2-1d65399b0557a9b6b35673f934154a3dbf87afc7.tar.gz
gentoo-2-1d65399b0557a9b6b35673f934154a3dbf87afc7.tar.bz2
gentoo-2-1d65399b0557a9b6b35673f934154a3dbf87afc7.zip
(non maintainer commit) Patch by Shawn Rutledge to search for cfg file in /etc, amd64 stable, removing old. bug #231605
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)
Diffstat (limited to 'dev-util/bcpp/bcpp-20050725.ebuild')
-rw-r--r--dev-util/bcpp/bcpp-20050725.ebuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/dev-util/bcpp/bcpp-20050725.ebuild b/dev-util/bcpp/bcpp-20050725.ebuild
index 7335da125c4a..6e65e6086947 100644
--- a/dev-util/bcpp/bcpp-20050725.ebuild
+++ b/dev-util/bcpp/bcpp-20050725.ebuild
@@ -1,19 +1,27 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bcpp/bcpp-20050725.ebuild,v 1.5 2007/03/05 03:19:10 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bcpp/bcpp-20050725.ebuild,v 1.6 2008/12/17 16:55:21 darkside Exp $
+
+inherit eutils
DESCRIPTION="Indents C/C++ source code"
HOMEPAGE="http://invisible-island.net/bcpp/"
SRC_URI="ftp://invisible-island.net/bcpp/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ppc x86"
+KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND=""
RDEPEND=""
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-etc-cfg-files.patch"
+}
+
src_install() {
- make DESTDIR=${D} install || die
+ make DESTDIR="${D}" install || die
dodoc CHANGES MANIFEST README VERSION txtdocs/hirachy.txt \
txtdocs/manual.txt