blob: 298a26fd67c8661f9be24bc40988d344f0b7c6b2 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-SPF/Mail-SPF-2.007-r1.ebuild,v 1.9 2011/03/30 09:55:23 xmw Exp $
EAPI=2
MODULE_AUTHOR="JMEHNLE"
MODULE_SECTION="mail-spf"
MY_P="${PN}-v${PV}"
S="${WORKDIR}/${MY_P}"
inherit perl-module
DESCRIPTION="Sender Permitted From - Object Oriented"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86"
IUSE=""
RDEPEND="dev-perl/Error
dev-perl/URI
>=dev-perl/Net-DNS-0.65
>=dev-perl/NetAddr-IP-4.026
>=dev-perl/Net-DNS-Resolver-Programmable-0.003
virtual/perl-version
!!dev-perl/Mail-SPF-Query"
DEPEND="${RDEPEND}
>=virtual/perl-Module-Build-0.33"
SRC_TEST="do"
src_prepare() {
perl-module_src_prepare
sed -i -e "s:spfquery:spfquery.pl:" Build.PL || die "sed failed"
mv "${S}"/bin/spfquery "${S}"/bin/spfquery.pl || die "renaming spfquery failed"
}
pkg_postinst() {
elog "The spfquery script was renamed to spfquery.pl because of file collisions."
}
|