sci-libs/jama: Port to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Thu, 26 Apr 2018 10:12:54 +0000 (12:12 +0200)
committerDavid Seifert <soap@gentoo.org>
Thu, 26 Apr 2018 10:12:54 +0000 (12:12 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

sci-libs/jama/jama-1.2.5.ebuild

index 232208b2534dc95d626ec1b04426a8329cf06cc4..a9db9225bd5aed4949ceb3bba5ec973b84e1e525 100644 (file)
@@ -1,6 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI=6
+
 inherit versionator
 
 MYP="${PN}$(replace_all_version_separators '')"
@@ -14,7 +16,6 @@ SRC_URI="http://math.nist.gov/tnt/${MYP}.zip
 LICENSE="public-domain"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
 IUSE="doc"
 
 DEPEND="app-arch/unzip"
@@ -23,7 +24,8 @@ RDEPEND="sci-libs/tnt"
 S="${WORKDIR}"
 
 src_install() {
-       insinto /usr/include
-       doins *.h || die
-       use doc && dohtml doxygen/html/*
+       doheader *.h
+
+       use doc && HTML_DOCS=( doxygen/html/. )
+       einstalldocs
 }