summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-SPF/Makefile
blob: 3925c4ac29728832ab60c0bb5b6497b2264aa26f (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
# $NetBSD: Makefile,v 1.11 2015/07/12 18:56:24 wiz Exp $

DISTNAME=	Mail-SPF-v2.9.0
PKGNAME=	p5-${DISTNAME:S/-v/-/}
PKGREVISION=	1
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

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"