diff options
Diffstat (limited to 'dev-perl/Mail-SPF/Mail-SPF-2.8.0.ebuild')
-rw-r--r-- | dev-perl/Mail-SPF/Mail-SPF-2.8.0.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-perl/Mail-SPF/Mail-SPF-2.8.0.ebuild b/dev-perl/Mail-SPF/Mail-SPF-2.8.0.ebuild new file mode 100644 index 000000000000..074b8edcced4 --- /dev/null +++ b/dev-perl/Mail-SPF/Mail-SPF-2.8.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 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.8.0.ebuild,v 1.1 2012/02/01 17:08:33 tove Exp $ + +EAPI=4 + +MODULE_AUTHOR=JMEHNLE +MODULE_SECTION=mail-spf +MODULE_VERSION=v2.8.0 +inherit perl-module + +DESCRIPTION="Sender Permitted From - Object Oriented" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +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." +} |