summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-SPF
diff options
context:
space:
mode:
Diffstat (limited to 'mail/p5-Mail-SPF')
-rw-r--r--mail/p5-Mail-SPF/DESCR4
-rw-r--r--mail/p5-Mail-SPF/Makefile42
-rw-r--r--mail/p5-Mail-SPF/distinfo5
3 files changed, 51 insertions, 0 deletions
diff --git a/mail/p5-Mail-SPF/DESCR b/mail/p5-Mail-SPF/DESCR
new file mode 100644
index 00000000000..e81305c264f
--- /dev/null
+++ b/mail/p5-Mail-SPF/DESCR
@@ -0,0 +1,4 @@
+Mail::SPF is an object-oriented Perl implementation of the Sender Policy
+Framework (SPF) e-mail sender authentication system.
+
+See <http://www.openspf.org> for more information about SPF.
diff --git a/mail/p5-Mail-SPF/Makefile b/mail/p5-Mail-SPF/Makefile
new file mode 100644
index 00000000000..a05ba1e44a0
--- /dev/null
+++ b/mail/p5-Mail-SPF/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/02/27 12:56:11 obache Exp $
+#
+
+DISTNAME= Mail-SPF-v2.007
+PKGNAME= p5-${DISTNAME:S/-v/-/}
+CATEGORIES= mail perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
+
+MAINTAINER= aniou@smutek.pl
+HOMEPAGE= http://search.cpan.org/dist/Mail-SPF/
+COMMENT= Perl implementation of the Sender Policy Framework
+LICENSE= modified-bsd
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+# sbin/spfd
+CONFLICTS+= libspf2-[0-9]*
+CONFLICTS+= libspf-alt-[0-9]*
+
+BUILD_DEPENDS+= p5-Net-DNS-Resolver-Programmable-[0-9]*:../../net/p5-Net-DNS-Resolver-Programmable
+BUILD_DEPENDS+= {perl>=5.6.2,p5-Test-Simple>=0.10}:../../devel/p5-Test-Simple
+
+DEPENDS+= {perl>=5.9.0,p5-version-[0-9]*}:../../devel/p5-version
+DEPENDS+= p5-Error-[0-9]*:../../devel/p5-Error
+DEPENDS+= p5-NetAddr-IP>=4.000:../../net/p5-NetAddr-IP
+DEPENDS+= p5-Net-DNS>=0.58:../../net/p5-Net-DNS
+DEPENDS+= p5-URI>=1.13:../../www/p5-URI
+
+SUBST_CLASSES+= fix
+SUBST_STAGE.fix= pre-configure
+SUBST_FILES.fix= Build.PL
+SUBST_SED.fix= -e "s,'/usr/sbin','${PREFIX}/sbin',"
+SUBST_MESSAGE.fix= Fixing hardcoded spfd pathes
+
+REPLACE_PERL= sbin/spfd bin/spfquery
+
+PERL5_MODULE_TYPE= Module::Build
+PERL5_PACKLIST= auto/Mail/SPF/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/p5-Mail-SPF/distinfo b/mail/p5-Mail-SPF/distinfo
new file mode 100644
index 00000000000..32d4c9c94b9
--- /dev/null
+++ b/mail/p5-Mail-SPF/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/02/27 12:56:11 obache Exp $
+
+SHA1 (Mail-SPF-v2.007.tar.gz) = df53baf018134481591317baf1b5d3a10702d4e7
+RMD160 (Mail-SPF-v2.007.tar.gz) = 343c57f2bb8202838d22bac8162793695ca57f55
+Size (Mail-SPF-v2.007.tar.gz) = 101722 bytes