commit: c93c919fa1e9855f46d26a62d5b67eee7cd6c39d Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Tue Sep 22 07:59:15 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Tue Sep 22 07:59:15 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c93c919f
sci-mathematics/burrtools: Bump to EAPI=5 Package-Manager: portage-2.2.21 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> .../burrtools/burrtools-0.5.2-r1.ebuild | 37 +++++++++------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/sci-mathematics/burrtools/burrtools-0.5.2-r1.ebuild b/sci-mathematics/burrtools/burrtools-0.5.2-r1.ebuild index 1c365de..9b68659 100644 --- a/sci-mathematics/burrtools/burrtools-0.5.2-r1.ebuild +++ b/sci-mathematics/burrtools/burrtools-0.5.2-r1.ebuild @@ -1,50 +1,43 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=2 +EAPI=5 DESCRIPTION="Program to solve assembly and interlocking puzzles" HOMEPAGE="http://burrtools.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz +SRC_URI=" + mirror://sourceforge/${PN}/${P}.tar.gz doc? ( mirror://sourceforge/${PN}/${P}-A4.pdf )" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" - IUSE="doc examples" DEPEND=" x11-libs/fltk:1 - media-libs/libpng" + media-libs/libpng:0=" RDEPEND="${DEPEND} app-text/htmldoc" -src_configure() { - econf --docdir=/usr/share/doc/${PF} -} - src_compile() { - cd doc - cp ../doc_src/*.png . + default + cd doc || die + cp ../doc_src/*.png . || die echo "User Guide for BurrTools ${PV}" > doc/userGuide.t2t cat ../doc_src/userGuide.t2t >> userGuide.t2t - mkdir html + mkdir html || die ../doc_src/txt2tags.py -t html -o - userGuide.t2t > userGuide.html - htmldoc --format htmlsep --toclevels 2 --outdir html userGuide.html - cd .. + htmldoc --format htmlsep --toclevels 2 --outdir html userGuide.html || die + cd .. || die } src_install() { - emake install DESTDIR="${D}" || die "emake install failed" - dodoc AUTHORS ChangeLog NEWS README - if use doc; then - insinto /usr/share/doc/${PF} - doins "${DISTDIR}"/${P}-A4.pdf - fi + default + use doc && dodoc "${DISTDIR}"/${P}-A4.pdf if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples || die + insinto /usr/share/${PN} + doins -r examples fi }
