diff options
Diffstat (limited to 'sci-biology/profphd/profphd-1.0.40.ebuild')
-rw-r--r-- | sci-biology/profphd/profphd-1.0.40.ebuild | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/sci-biology/profphd/profphd-1.0.40.ebuild b/sci-biology/profphd/profphd-1.0.40.ebuild index 8e24cebeb5f3..4f9a16a9fe9d 100644 --- a/sci-biology/profphd/profphd-1.0.40.ebuild +++ b/sci-biology/profphd/profphd-1.0.40.ebuild @@ -1,37 +1,33 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit eutils +EAPI=7 DESCRIPTION="Secondary structure and solvent accessibility predictor" HOMEPAGE="https://rostlab.org/owiki/index.php/PROFphd_-_Secondary_Structure,_Solvent_Accessibility_and_Transmembrane_Helices_Prediction" SRC_URI="ftp://rostlab.org/profphd/${P}.tar.xz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" DEPEND="dev-lang/perl" -RDEPEND="${DEPEND} +RDEPEND=" + ${DEPEND} dev-perl/librg-utils-perl sci-libs/profnet - sci-libs/profphd-utils -" + sci-libs/profphd-utils" -src_prepare() { - sed \ - -e '/ln -s/s:prof$:profphd:g' \ - -i src/prof/Makefile || die - epatch "${FILESDIR}"/${PN}-1.0.39-perl.patch -} +PATCHES=( + "${FILESDIR}"/${PN}-1.0.39-perl.patch + "${FILESDIR}"/${PN}-1.0.40-symlink.patch +) src_compile() { - emake prefix="${EPREFIX}/usr" + emake prefix="${EPREFIX}"/usr } src_install() { - emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install + emake prefix="${EPREFIX}"/usr DESTDIR="${D}" install + einstalldocs } |