summaryrefslogtreecommitdiff
path: root/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18-r3.ebuild
blob: 544922d5947ef31bdd641af950e32ff9f3a1132e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}