summaryrefslogtreecommitdiff
blob: da61afd26e9f2ac65de0fc78cbf5cab4f5e3a00a (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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
}