41 lines
880 B
Makefile
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>
|