diff options
Diffstat (limited to 'dev-util/cccc/cccc-3.1.4-r1.ebuild')
-rw-r--r-- | dev-util/cccc/cccc-3.1.4-r1.ebuild | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/dev-util/cccc/cccc-3.1.4-r1.ebuild b/dev-util/cccc/cccc-3.1.4-r1.ebuild deleted file mode 100644 index 4a2492e9a21a..000000000000 --- a/dev-util/cccc/cccc-3.1.4-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils toolchain-funcs flag-o-matic - -DESCRIPTION="Source code metrics (line counts, complexity, etc) for Java and C++" -HOMEPAGE="http://cccc.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="doc" - -RDEPEND="" -DEPEND="${RDEPEND}" - -MAKEOPTS="-j1" - -src_prepare() { - # fix new C++ syntax error - epatch "${FILESDIR}"/${P}-whitespace-and-unqualified-lookup.patch - - sed -i -e "/^CFLAGS/s|=|+=|" pccts/antlr/makefile - sed -i -e "/^CFLAGS/s|=|+=|" pccts/dlg/makefile - sed -i -e "/^CFLAGS/s|=|+=|" \ - -e "/^LD_OFLAG/s|-o|-o |" \ - -e "/^LDFLAGS/s|=|+=|" cccc/posixgcc.mak - #LD_OFLAG: ld on Darwin needs a space after -o -} - -src_compile() { - emake CCC=$(tc-getCXX) LD=$(tc-getCXX) pccts - - append-cflags "-std=c++98" - emake CCC=$(tc-getCXX) LD=$(tc-getCXX) cccc -} - -src_install() { - dodoc readme.txt changes.txt - use doc && dohtml cccc/*.html - cd install || die - dodir /usr - emake -f install.mak INSTDIR="${ED}"/usr/bin -} |