aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/drawxtl/drawxtl-55.ebuild')
-rw-r--r--sci-chemistry/drawxtl/drawxtl-55.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/sci-chemistry/drawxtl/drawxtl-55.ebuild b/sci-chemistry/drawxtl/drawxtl-55.ebuild
index df7a16b53..c18fa4b2f 100644
--- a/sci-chemistry/drawxtl/drawxtl-55.ebuild
+++ b/sci-chemistry/drawxtl/drawxtl-55.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
MY_PN="DRAWxtl"
MY_P=${MY_PN}${PV}
@@ -26,9 +26,9 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+)
src_compile() {
cd source/${MY_P} || die
@@ -41,8 +41,7 @@ src_install() {
dobin exe/${MY_P}
dodoc docs/readme.txt
- insinto /usr/share/doc/${P}
- doins docs/*.pdf
+ dodoc docs/*.pdf
if use examples; then
docinto examples