c4119921b0
- Bump PORTREVISION for package change PR: 239855 Submitted by: grembo Reference: http://debian.2.n7.nabble.com/Bug-461709-usr-sbin-spamd-spf-lookup-failed-Can-t-locate-object-method-quot-new-quot-via-package-quo-td492057.html https://rt.cpan.org/Public/Bug/Display.html?id=130299
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# Created by: gmc@sonologic.nl
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Mail-SPF
|
|
PORTVERSION= 2.9.0
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 5
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Object-oriented implementation of Sender Policy Framework
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= p5-Error>=0:lang/p5-Error \
|
|
p5-Net-DNS>=0.62:dns/p5-Net-DNS \
|
|
p5-Net-DNS-Resolver-Programmable>=0.003:dns/p5-Net-DNS-Resolver-Programmable \
|
|
p5-NetAddr-IP>=4:net-mgmt/p5-NetAddr-IP \
|
|
p5-URI>=1.13:net/p5-URI
|
|
TEST_DEPENDS= p5-Test-Pod>=1:devel/p5-Test-Pod
|
|
|
|
USES= perl5 shebangfix
|
|
USE_PERL5= modbuild
|
|
|
|
CONFIGURE_ARGS= --install_path sbin=${PREFIX}/sbin
|
|
NO_ARCH= yes
|
|
|
|
SHEBANG_FILES= bin/spfquery sbin/spfd
|
|
|
|
post-patch:
|
|
@${MV} ${WRKSRC}/sbin/spfd ${WRKSRC}/sbin/spfd.pl
|
|
@${MV} ${WRKSRC}/bin/spfquery ${WRKSRC}/bin/spfquery.pl
|
|
@${REINPLACE_CMD} -e 's|spfd|&.pl|; s|spfquery|&.pl|' ${WRKSRC}/Build.PL ${WRKSRC}/MANIFEST ${WRKSRC}/README
|
|
|
|
.include <bsd.port.mk>
|