summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-09-16 22:59:33 +0200
committerDavid Seifert <soap@gentoo.org>2020-09-16 22:59:33 +0200
commitceffd0224a4d3de3d60d87b812d1d603846ae16a (patch)
tree0d22ea9a0394de798d49b2b735d787c559b2b15e
parentsci-chemistry/surf: Port to EAPI 7 (diff)
downloadgentoo-ceffd0224a4d3de3d60d87b812d1d603846ae16a.tar.gz
gentoo-ceffd0224a4d3de3d60d87b812d1d603846ae16a.tar.bz2
gentoo-ceffd0224a4d3de3d60d87b812d1d603846ae16a.zip
sci-chemistry/probe: Port to EAPI 7
Closes: https://bugs.gentoo.org/742014 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--sci-chemistry/probe/probe-2.13.110909.ebuild24
1 files changed, 11 insertions, 13 deletions
diff --git a/sci-chemistry/probe/probe-2.13.110909.ebuild b/sci-chemistry/probe/probe-2.13.110909.ebuild
index 66b1ac8c56d..628e2654bd3 100644
--- a/sci-chemistry/probe/probe-2.13.110909.ebuild
+++ b/sci-chemistry/probe/probe-2.13.110909.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
MY_P="${PN}.${PV}"
@@ -11,23 +11,21 @@ DESCRIPTION="Evaluates atomic packing within or between molecules"
HOMEPAGE="http://kinemage.biochem.duke.edu/software/probe.php"
SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/probe/${MY_P}.src.zip"
-SLOT="0"
LICENSE="richardson"
+SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE=""
-RDEPEND=""
-DEPEND="${RDEPEND}
- app-arch/unzip"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}/${MY_P}.src"
-S="${WORKDIR}"/${MY_P}.src
+PATCHES=( "${FILESDIR}"/${P}-as-needed.patch )
-src_prepare() {
- epatch "${FILESDIR}"/${P}-as-needed.patch
+src_configure() {
tc-export CC
}
src_install() {
- dobin "${S}"/probe
- dodoc "${S}"/README*
+ dobin probe
+ einstalldocs
}