openbsd-ports/mail/p5-Mail-SPF/Makefile
giovanni dbdbebf85a Import p5-Mail-SPF, a perl oop implementation of Sender Policy Framework
ok sthen@

Mail::SPF is an object-oriented implementation of Sender Policy
Framework (SPF).  This class collection aims to fully conform to
the SPF specification (RFC 4408) so as to serve both as a production
quality SPF implementation and as a reference for other developers
of SPF implementations.
2011-09-21 07:59:25 +00:00

41 lines
880 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/09/21 07:59:25 giovanni Exp $
COMMENT = perl oop implementation of Sender Policy Framework
DISTNAME = Mail-SPF-v2.007
PKGNAME = p5-${DISTNAME:S/-v/-/}
CATEGORIES = mail
MAINTAINER = Giovanni Bechis <giovanni@openbsd.org>
# perl
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = cpan
RUN_DEPENDS = devel/p5-Error \
net/p5-NetAddr-IP>=4 \
net/p5-Net-DNS>=0.46 \
net/p5-Net-DNS-Resolver-Programmable \
www/p5-URI
BUILD_DEPENDS = ${RUN_DEPENDS}
REGRESS_DEPENDS = mail/p5-Mail-SPF-Test
SUBST_VARS = WRKINST
TEST_POD = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/Build.PL
post-build:
pod2man ${WRKSRC}/sbin/spfd >${WRKSRC}/blib/bindoc/spfd.1
do-install:
cd ${WRKSRC} && ./Build --prefix=${PREFIX} --create_packlist=0 install
.include <bsd.port.mk>