mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
eee58d187e
Before, we had: site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# Created by: gmc@sonologic.nl
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Mail-SPF
|
|
PORTVERSION= 2.9.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Object-oriented implementation of Sender Policy Framework
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
BUILD_DEPENDS= p5-Error>=0:${PORTSDIR}/lang/p5-Error \
|
|
p5-Net-DNS>=0.62:${PORTSDIR}/dns/p5-Net-DNS \
|
|
p5-Net-DNS-Resolver-Programmable>=0.003:${PORTSDIR}/dns/p5-Net-DNS-Resolver-Programmable \
|
|
p5-NetAddr-IP>=4:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \
|
|
p5-URI>=1.13:${PORTSDIR}/net/p5-URI
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
TEST_DEPENDS= p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
|
|
|
|
CONFLICTS_INSTALL= p5-Mail-SPF-Query-[0-9]*
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
CONFIGURE_ARGS= --install_path sbin=${PREFIX}/sbin
|
|
USE_PERL5= modbuild
|
|
USES= perl5 shebangfix
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/p5-Mail-SPF
|
|
PORTDOCS= CHANGES README TODO
|
|
|
|
SHEBANG_FILES= bin/spfquery sbin/spfd
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
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
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|