summaryrefslogtreecommitdiff
blob: c9e9792f0f3a0d9cc6be58ac3c23fe310f43b3f7 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=RJBS
DIST_VERSION=3.033
inherit perl-module

DESCRIPTION="Low-calorie MIME generator"

SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="minimal"

PATCHES=( "${FILESDIR}/3.033-makefilepl.patch" )

PERL_RM_FILES=(
	"t/pod.t"
	"t/pod-coverage.t"
)

# MIME::QuotedPrint -> perl-MIME-Base64
# Mail::Address -> MailTools
RDEPEND="
	!minimal? (
		virtual/perl-MIME-Base64
		>=dev-perl/MIME-Types-1.280.0
		>=dev-perl/MailTools-1.620.0
	)
	dev-perl/Email-Date-Format
	virtual/perl-File-Spec
"
BDEPEND="${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
"

# Race condition in "testout" directory creation
DIST_TEST="do"

src_install() {
	perl-module_src_install
	insinto /usr/share/${PN}
	doins -r contrib
}