summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-03 00:30:05 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-03 00:30:05 +0200
commit226c7a7cf501d82dad9d20c24222edfda2831685 (patch)
tree6307d8655ee5a4b8dcf13f9c5c1f6747157749e0 /net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18-r3.ebuild
parentapp-admin/ryzen_monitor: Stabilize 1.0.4-r1 amd64, #855998 (diff)
downloadgentoo-226c7a7cf501d82dad9d20c24222edfda2831685.tar.gz
gentoo-226c7a7cf501d82dad9d20c24222edfda2831685.tar.bz2
gentoo-226c7a7cf501d82dad9d20c24222edfda2831685.zip
net-mail/mhonarc-gentoo: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/554650 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18-r3.ebuild')
-rw-r--r--net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18-r3.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18-r3.ebuild b/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18-r3.ebuild
new file mode 100644
index 000000000000..544922d5947e
--- /dev/null
+++ b/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18-r3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit perl-module
+
+MY_P="${P/mhonarc-gentoo/MHonArc}"
+
+DESCRIPTION="Perl Mail-to-HTML Converter, Gentoo fork"
+HOMEPAGE="https://www.mhonarc.org/"
+SRC_URI="https://www.mhonarc.org/release/MHonArc/tar/MHonArc-${PV}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="!net-mail/mhonarc"
+
+PATCHES=( "${FILESDIR}"/${P}-archives-gentoo.patch )
+
+src_install() {
+ sed -e "s|-prefix |-docpath '${ED}/usr/share/doc/${PF}' -prefix '${ED}'|g" -i Makefile || die "sed on Makefile failed"
+ sed -e "s|installsitelib|installvendorlib|g" -i install.me || die "sed on install.me failed"
+
+ perl-module_src_install
+}