46 lines
996 B
Bash
46 lines
996 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-Builder/Mail-Builder-2.70.0.ebuild,v 1.1 2011/10/31 04:04:21 tove Exp $
|
|
|
|
EAPI=4
|
|
|
|
MODULE_AUTHOR=MAROS
|
|
MODULE_VERSION=2.07
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="Easily create plaintext/html e-mail messages with attachments and inline images"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="examples test"
|
|
|
|
SRC_TEST="do"
|
|
|
|
COMMON="
|
|
dev-perl/Email-Address
|
|
dev-perl/Email-Date-Format
|
|
>=dev-perl/Email-MessageID-1.40.1
|
|
dev-perl/Email-Valid
|
|
dev-perl/MIME-tools
|
|
dev-perl/HTML-Tree
|
|
dev-perl/MIME-Types
|
|
dev-perl/Moose
|
|
dev-perl/Path-Class
|
|
dev-perl/Text-Table
|
|
"
|
|
DEPEND="${COMMON}
|
|
test? (
|
|
dev-perl/Test-Most
|
|
dev-perl/Test-NoWarnings
|
|
)"
|
|
RDEPEND="${COMMON}"
|
|
|
|
#PATCHES=("${FILESDIR}/${PV}-escape-at-for-perl-5.8.patch")
|
|
src_install() {
|
|
perl-module_src_install
|
|
|
|
if use examples ; then
|
|
insinto /usr/share/doc/${PF}/examples
|
|
doins example/*.pl
|
|
fi
|
|
}
|