You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-perl/Mail-Builder/Mail-Builder-2.90.0.ebuild

49 lines
989 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=MAROS
DIST_VERSION=2.09
inherit perl-module
DESCRIPTION="Easily create plaintext/html e-mail messages with attachments and inline images"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
# HTML::Tree -> HTML-TreeBuilder
# MIME::Tools -> MIME-tools
RDEPEND="
dev-perl/Class-Load
dev-perl/Email-Address
dev-perl/Email-Date-Format
>=dev-perl/Email-MessageID-1.400.0
dev-perl/Email-Valid
virtual/perl-Encode
>=dev-perl/MIME-tools-5.400.0
>=dev-perl/HTML-Tree-3.0.0
dev-perl/MIME-Types
>=dev-perl/Moose-0.940.0
dev-perl/Path-Class
dev-perl/Text-Table
dev-perl/namespace-autoclean
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
test? (
dev-perl/Test-Most
dev-perl/Test-NoWarnings
)
"
src_install() {
perl-module_src_install
if use examples ; then
insinto /usr/share/doc/${PF}/examples
doins example/*.pl
fi
}