diff options
author | Martin Väth <martin@mvath.de> | 2016-07-10 22:54:25 +0200 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2016-07-10 22:54:25 +0200 |
commit | a1abfb43d8489e0987413a277748ec39857246e6 (patch) | |
tree | 1efe335bfef557837d5a1d779c16411dcfee3b7b /sci-mathematics/genius | |
parent | net-print/foo2zjs: Version bump (diff) | |
download | mv-a1abfb43d8489e0987413a277748ec39857246e6.tar.gz mv-a1abfb43d8489e0987413a277748ec39857246e6.tar.bz2 mv-a1abfb43d8489e0987413a277748ec39857246e6.zip |
Bump to EAPI=6
Diffstat (limited to 'sci-mathematics/genius')
-rw-r--r-- | sci-mathematics/genius/genius-1.0.19.ebuild | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/sci-mathematics/genius/genius-1.0.19.ebuild b/sci-mathematics/genius/genius-1.0.19.ebuild index 90ab0af5..e7fb7b00 100644 --- a/sci-mathematics/genius/genius-1.0.19.ebuild +++ b/sci-mathematics/genius/genius-1.0.19.ebuild @@ -2,8 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -inherit autotools eutils gnome2 +EAPI=6 +inherit autotools gnome2 DESCRIPTION="Genius Mathematics Tool and the GEL Language" HOMEPAGE="http://www.jirka.org/genius.html" @@ -38,27 +38,28 @@ DEPEND="${RDEPEND} sys-devel/flex nls? ( sys-devel/gettext )" +DOCS=(AUTHORS ChangeLog NEWS README TODO) + src_prepare() { + eapply_user if ! use gnome - then sed -i \ - -e "/GNOME_DOC_INIT/d" \ - configure.in + then sed -e "/GNOME_DOC_INIT/d" \ + configure.in >configure.ac + rm configure.in sed -i \ -e '/gnome-doc-utils\.make/d' \ help/Makefile.am eautoreconf fi - G2CONF="${G2CONF} $(use_enable gnome) $(use_enable nls) \ +} + +src_configure() { + gnome2_src_configure $(use_enable gnome) $(use_enable nls) \ --disable-update-mimedb --disable-scrollkeeper \ - --disable-extra-gcc-optimization" - # gnome2.eclass adds --disable-gtk-doc or --enable-gtk-doc to G2CONF - # if there is the USE flag doc, thus leading to QA warnings - GCONF_DEBUG="no" - DOCS="AUTHORS ChangeLog NEWS README TODO" - USE_DESTDIR="1" + --disable-extra-gcc-optimization } src_install() { - use doc && DOCS+=" ${DISTDIR}/${PN}-reference.pdf" + use doc && dodoc "${DISTDIR}/${PN}-reference.pdf" gnome2_src_install } |