summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-01-29 02:43:43 +0000
committerMichael Weber <xmw@gentoo.org>2012-01-29 02:43:43 +0000
commit4e573415dcdd83a037187f310f4249b32bfa4f13 (patch)
tree62caec23b7bf44e2ec18dd497b14e06e2d03c1f0 /app-doc/doc++/doc++-3.4.10-r4.ebuild
parentPrepare for PYTHON_ABI-versioned Boost Python libraries in Boost 1.48. Patch ... (diff)
downloadgentoo-2-4e573415dcdd83a037187f310f4249b32bfa4f13.tar.gz
gentoo-2-4e573415dcdd83a037187f310f4249b32bfa4f13.tar.bz2
gentoo-2-4e573415dcdd83a037187f310f4249b32bfa4f13.zip
Revbump to fix flex dependency (thanks bay, bug 399345). EAPI-4
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'app-doc/doc++/doc++-3.4.10-r4.ebuild')
-rw-r--r--app-doc/doc++/doc++-3.4.10-r4.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/app-doc/doc++/doc++-3.4.10-r4.ebuild b/app-doc/doc++/doc++-3.4.10-r4.ebuild
new file mode 100644
index 000000000000..2df2981e799a
--- /dev/null
+++ b/app-doc/doc++/doc++-3.4.10-r4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/doc++/doc++-3.4.10-r4.ebuild,v 1.1 2012/01/29 02:43:43 xmw Exp $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="Documentation system for C, C++, IDL and Java"
+HOMEPAGE="http://docpp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/docpp/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-flex.patch
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+ sed -i -e "s/locale.alias//g" "${S}"/intl/Makefile.in || die
+ sed -r "/^ac_compile=/s:\\\$CFLAGS:$CFLAGS:" -i "${S}"/configure || die
+ sed -r "/^ac_compile=/s:\\\$CXXFLAGS:$CXXFLAGS:" -i "${S}"/configure || die
+}
+
+src_compile() {
+ emake all
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+ dodoc CREDITS INSTALL NEWS PLATFORMS REPORTING-BUGS
+
+ #Install Latex style file
+ insinto /usr/share/${PN}
+ doins doc/*.sty
+}
+
+pkg_postinst() {
+ einfo " "
+ einfo "The latex style files for doc++ may be found in "
+ einfo "/usr/share/doc++ "
+ einfo " "
+}