From 91a1567719bdbdfe9147ae618e778f53e747a059 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 28 May 2021 17:57:07 +0200 Subject: net-misc/pedro: fix docinto argument (avoid double 'prefix') Signed-off-by: Sam James Signed-off-by: David Seifert --- net-misc/pedro/pedro-1.6-r1.ebuild | 52 ++++++++++++++++++++++++++++++++++++++ net-misc/pedro/pedro-1.6.ebuild | 52 -------------------------------------- 2 files changed, 52 insertions(+), 52 deletions(-) create mode 100644 net-misc/pedro/pedro-1.6-r1.ebuild delete mode 100644 net-misc/pedro/pedro-1.6.ebuild (limited to 'net-misc/pedro') diff --git a/net-misc/pedro/pedro-1.6-r1.ebuild b/net-misc/pedro/pedro-1.6-r1.ebuild new file mode 100644 index 000000000000..f6b5ca3d86b4 --- /dev/null +++ b/net-misc/pedro/pedro-1.6-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Pedro is a subscription/notification communications system" +HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/PedroHome.html" +SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/PedroFiles/${P}.tgz + doc? ( mirror://gentoo/${PN}-manual-${PV}.tar.gz )" +S="${WORKDIR}"/${P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="doc examples" + +RDEPEND="dev-libs/glib:2" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-portage.patch +) + +src_configure() { + tc-export PKG_CONFIG + + default +} + +src_install() { + default + + if use doc ; then + dodoc "${WORKDIR}"/${PN}.pdf + fi + + if use examples ; then + docinto examples + dodoc src/examples/*.{c,tcl} + + docinto examples/java_api + dodoc src/java_api/*.java + + docinto examples/python_api + dodoc src/python_api/*.py + fi +} diff --git a/net-misc/pedro/pedro-1.6.ebuild b/net-misc/pedro/pedro-1.6.ebuild deleted file mode 100644 index 68f35cb0e6f4..000000000000 --- a/net-misc/pedro/pedro-1.6.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Pedro is a subscription/notification communications system" -HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/PedroHome.html" -SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/PedroFiles/${P}.tgz - doc? ( mirror://gentoo/${PN}-manual-${PV}.tar.gz )" -S="${WORKDIR}"/${P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="doc examples" - -RDEPEND="dev-libs/glib:2" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${P}-portage.patch -) - -src_configure() { - tc-export PKG_CONFIG - - default -} - -src_install() { - default - - if use doc ; then - dodoc "${WORKDIR}"/${PN}.pdf - fi - - if use examples ; then - 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 -} -- cgit v1.2.3-65-gdbad