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
55 lines
1.7 KiB
Makefile
55 lines
1.7 KiB
Makefile
# Created by: Alexandre Biancalana <ale@biancalanas.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Net-Google-SafeBrowsing2
|
|
PORTVERSION= 1.09
|
|
PORTREVISION= 1
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= ale@biancalanas.net
|
|
COMMENT= Perl extension for the Google Safe Browsing v2 API
|
|
|
|
BUILD_DEPENDS= p5-libwww>=5:${PORTSDIR}/www/p5-libwww \
|
|
p5-URI>=1:${PORTSDIR}/net/p5-URI \
|
|
p5-Digest-SHA>=5:${PORTSDIR}/security/p5-Digest-SHA \
|
|
p5-Net-IPAddress>=1:${PORTSDIR}/net-mgmt/p5-Net-IPAddress \
|
|
p5-Text-Trim>=1:${PORTSDIR}/textproc/p5-Text-Trim \
|
|
p5-MIME-Base64>=3:${PORTSDIR}/converters/p5-MIME-Base64 \
|
|
p5-MIME-Base64-URLSafe>=0.01:${PORTSDIR}/converters/p5-MIME-Base64-URLSafe \
|
|
p5-Digest-HMAC>=1:${PORTSDIR}/security/p5-Digest-HMAC \
|
|
p5-String-HexConvert>=0.01:${PORTSDIR}/textproc/p5-String-HexConvert \
|
|
p5-File-Slurp>9:${PORTSDIR}/devel/p5-File-Slurp
|
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
OPTIONS_DEFINE= MySQL SQLite Postgres
|
|
|
|
MySQL_DESC= uses MySQL as the storage backend
|
|
SQLite_DESC= uses SQLite as the storage backend
|
|
Postgres_DESC= uses Postgres as the storage backend
|
|
|
|
OPTIONS_DEFAULT=SQLite
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSQLite}
|
|
BUILD_DEPENDS+= p5-DBD-SQLite>=1:${PORTSDIR}/databases/p5-DBD-SQLite
|
|
RUN_DEPENDS+= p5-DBD-SQLite>=1:${PORTSDIR}/databases/p5-DBD-SQLite
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MMySQL}
|
|
BUILD_DEPENDS+= p5-DBD-mysql>=4:${PORTSDIR}/databases/p5-DBD-mysql
|
|
RUN_DEPENDS+= p5-DBD-mysql>=4:${PORTSDIR}/databases/p5-DBD-mysql
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MPostgres}
|
|
BUILD_DEPENDS+= p5-DBD-Pg>=2:${PORTSDIR}/databases/p5-DBD-Pg
|
|
RUN_DEPENDS+= p5-DBD-Pg>=2:${PORTSDIR}/databases/p5-DBD-Pg
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|