diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-09-22 09:59:15 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-09-22 09:59:15 +0200 |
commit | c93c919fa1e9855f46d26a62d5b67eee7cd6c39d (patch) | |
tree | 5f7a106055f83c045846c322cea65232667de3a7 | |
parent | sci-mathematics/Oid: Bump to EAPI=5 (diff) | |
download | sci-c93c919fa1e9855f46d26a62d5b67eee7cd6c39d.tar.gz sci-c93c919fa1e9855f46d26a62d5b67eee7cd6c39d.tar.bz2 sci-c93c919fa1e9855f46d26a62d5b67eee7cd6c39d.zip |
sci-mathematics/burrtools: Bump to EAPI=5
Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher <jlec@gentoo.org>
-rw-r--r-- | sci-mathematics/burrtools/Manifest | 4 | ||||
-rw-r--r-- | sci-mathematics/burrtools/burrtools-0.5.2-r1.ebuild | 37 |
2 files changed, 17 insertions, 24 deletions
diff --git a/sci-mathematics/burrtools/Manifest b/sci-mathematics/burrtools/Manifest index 69731dcbc..05474f475 100644 --- a/sci-mathematics/burrtools/Manifest +++ b/sci-mathematics/burrtools/Manifest @@ -1,2 +1,2 @@ -DIST burrtools-0.5.2-A4.pdf 1268505 SHA256 7ef48e7fcbd8e426e8fab1205def32e108c822b31949440d9bf04e3587e0164e -DIST burrtools-0.5.2.tar.gz 1920561 SHA256 400d549ebcb9d190c19d72582268a45cb7c54d2247f3531d212ddb1d7a83c8c7 +DIST burrtools-0.5.2-A4.pdf 1268505 SHA256 7ef48e7fcbd8e426e8fab1205def32e108c822b31949440d9bf04e3587e0164e SHA512 560bfb05a2fe84eb4502a9f9503edd2e8af2a0c67f5e05819d3ae8df6e599d8f39c917577d49ff4103b1c330ca8a61eba430c206a1b895be06b154386dadfccd WHIRLPOOL 2b4a1d5c82efbaf78319b900403d7c37648c74b35793668cd603d1bcfbe76ea10f2a853891feb622a1ab18b72e7d377d0ed2158c92c0ff4ddeb76ffd4f70c054 +DIST burrtools-0.5.2.tar.gz 1920561 SHA256 400d549ebcb9d190c19d72582268a45cb7c54d2247f3531d212ddb1d7a83c8c7 SHA512 7b73b619c6d042fd7e879ef675e8abd6977c9df276b410cb466e555810a83906e51d7b085679096e828929b62851be5ca304292f1e500b963053d81d968860e8 WHIRLPOOL 1b95eeba0dd84a8daac8a0beb0c8c69ee2512d97424bd2a487d421326c491003c72fc6290283038be8cb70494ed014a0951fc328a493df8b682368786733d520 diff --git a/sci-mathematics/burrtools/burrtools-0.5.2-r1.ebuild b/sci-mathematics/burrtools/burrtools-0.5.2-r1.ebuild index 1c365de06..9b68659e0 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 } |