summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-10-25 21:48:54 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-10-25 21:48:54 +0000
commitafd779b3c6db702f4280120e9166525b2e9d61eb (patch)
tree9e8c7c6a4b67104809d94a1274480e710afc9465 /dev-cpp/tclap
parentKeywording for ppc. (diff)
downloadgentoo-2-afd779b3c6db702f4280120e9166525b2e9d61eb.tar.gz
gentoo-2-afd779b3c6db702f4280120e9166525b2e9d61eb.tar.bz2
gentoo-2-afd779b3c6db702f4280120e9166525b2e9d61eb.zip
Fixing description, license and repoman complains. Adding doc USE flag. Patch thanks to Toffanin <toffanin.mauro@gmail.com> bug 223203
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-cpp/tclap')
-rw-r--r--dev-cpp/tclap/ChangeLog6
-rw-r--r--dev-cpp/tclap/tclap-1.1.0.ebuild19
2 files changed, 19 insertions, 6 deletions
diff --git a/dev-cpp/tclap/ChangeLog b/dev-cpp/tclap/ChangeLog
index cd7ed420dd55..cc30e286ad58 100644
--- a/dev-cpp/tclap/ChangeLog
+++ b/dev-cpp/tclap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/tclap
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tclap/ChangeLog,v 1.3 2009/07/24 18:23:17 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tclap/ChangeLog,v 1.4 2009/10/25 21:48:54 vostorga Exp $
+
+ 25 Oct 2009; Víctor Ostorga <vostorga@gentoo.org> tclap-1.1.0.ebuild:
+ Fixing description, license and repoman complains. Adding doc USE flag.
+ Patch thanks to Toffanin <toffanin.mauro@gmail.com> bug 223203
24 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> tclap-1.1.0.ebuild,
+files/tclap-1.1.0-gcc44.patch:
diff --git a/dev-cpp/tclap/tclap-1.1.0.ebuild b/dev-cpp/tclap/tclap-1.1.0.ebuild
index 33b86029ac78..497e2694d3c3 100644
--- a/dev-cpp/tclap/tclap-1.1.0.ebuild
+++ b/dev-cpp/tclap/tclap-1.1.0.ebuild
@@ -1,26 +1,35 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tclap/tclap-1.1.0.ebuild,v 1.3 2009/07/24 18:23:17 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tclap/tclap-1.1.0.ebuild,v 1.4 2009/10/25 21:48:54 vostorga Exp $
EAPI=2
inherit eutils
-DESCRIPTION="Small flexible library for dealing with command line arguments"
+DESCRIPTION="Simple templatized C++ library for parsing command line arguments."
HOMEPAGE="http://tclap.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-LICENSE="as-is"
+LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
+IUSE="doc"
RDEPEND=""
-DEPEND=""
+DEPEND="doc? ( app-doc/doxygen )"
src_prepare() {
epatch "${FILESDIR}"/${P}-gcc44.patch
}
+src_configure() {
+ local myconf="$(use_enable doc doxygen)"
+ econf ${myconf}
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
+
+ if use doc; then
+ dohtml -r docs/html/*
+ fi
}