commit: cb1e3a55ca15156b21b726b197caecd9f83c274a Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Thu Jul 7 19:43:01 2016 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Thu Jul 7 19:47:00 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb1e3a55
net-mail/mhonarc-gentoo: bump to EAPI 6, add maintainer-needed Package-Manager: portage-2.2.28 net-mail/mhonarc-gentoo/metadata.xml | 1 + .../mhonarc-gentoo/mhonarc-gentoo-2.6.18-r2.ebuild | 29 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/net-mail/mhonarc-gentoo/metadata.xml b/net-mail/mhonarc-gentoo/metadata.xml index 097975e..6f49eba 100644 --- a/net-mail/mhonarc-gentoo/metadata.xml +++ b/net-mail/mhonarc-gentoo/metadata.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> +<!-- maintainer-needed --> </pkgmetadata> diff --git a/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18-r2.ebuild b/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18-r2.ebuild new file mode 100644 index 0000000..8af0c4f --- /dev/null +++ b/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit perl-module + +DESCRIPTION="Perl Mail-to-HTML Converter, Gentoo fork" +HOMEPAGE="http://www.mhonarc.org/" +LICENSE="GPL-2" +SRC_URI="http://www.mhonarc.org/release/MHonArc/tar/MHonArc-${PV}.tar.bz2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="!net-mail/mhonarc" + +MY_P="${P/mhonarc-gentoo/MHonArc}" +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/${P}-archives-gentoo.patch" ) + +src_install() { + sed -e "s|-prefix |-docpath '${D}/usr/share/doc/${PF}' -prefix '${D}'|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 +}