diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-02 17:18:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-02 17:18:14 +0100 |
commit | 7b9f15840068dfaeea5684f8a1af1fe460dfa14c (patch) | |
tree | 112eea4497761c0227537330b58f9c7e0af3f9d8 /net-misc/pedro/pedro-1.6.ebuild | |
parent | 0bff53119f08d677db6c1a991bd30741682a8a08 (diff) |
gentoo resync : 02.06.2018
Diffstat (limited to 'net-misc/pedro/pedro-1.6.ebuild')
-rw-r--r-- | net-misc/pedro/pedro-1.6.ebuild | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/net-misc/pedro/pedro-1.6.ebuild b/net-misc/pedro/pedro-1.6.ebuild index 00b9a3e6b9af..428ab0412b8a 100644 --- a/net-misc/pedro/pedro-1.6.ebuild +++ b/net-misc/pedro/pedro-1.6.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 - -inherit eutils +EAPI=6 DESCRIPTION="Pedro is a subscription/notification communications system" HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/PedroHome.html" @@ -20,25 +18,23 @@ DEPEND="${RDEPEND}" S="${WORKDIR}"/${P} -src_prepare() { - epatch "${FILESDIR}"/${P}-portage.patch -} +PATCHES=( "${FILESDIR}/${P}-portage.patch" ) src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - dodoc AUTHORS README || die + default if use doc ; then - dodoc "${WORKDIR}"/${PN}.pdf || die + dodoc "${WORKDIR}"/${PN}.pdf fi if use examples ; then - insinto /usr/share/doc/${PF}/examples - doins src/examples/*.{c,tcl} || die - insinto /usr/share/doc/${PF}/examples/java_api - doins src/java_api/*.java || die - insinto /usr/share/doc/${PF}/examples/python_api - doins src/python_api/*.py || die + docinto /usr/share/doc/${PF}/examples + dodoc src/examples/*.{c,tcl} + + docinto /usr/share/doc/${PF}/examples/java_api + dodoc src/java_api/*.java + + docinto /usr/share/doc/${PF}/examples/python_api + dodoc src/python_api/*.py fi } |