mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
2effb7042b
plists as necessary.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: James FitzGibbon <jfitz@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Net
|
|
PORTVERSION= 3.07
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
DISTNAME= libnet-${PORTVERSION}
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl5 modules to access and use network protocols
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-Socket>=2.016:${PORTSDIR}/net/p5-Socket
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
OPTIONS_DEFINE= IPV6 SASL SSL
|
|
OPTIONS_DEFAULT=SASL
|
|
SASL_DESC= SASL auth for POP3 and SMTP support
|
|
|
|
SASL_BUILD_DEPENDS= p5-Authen-SASL>=0:${PORTSDIR}/security/p5-Authen-SASL
|
|
SASL_RUN_DEPENDS= p5-Authen-SASL>=0:${PORTSDIR}/security/p5-Authen-SASL
|
|
SSL_BUILD_DEPENDS= p5-IO-Socket-SSL>=2.007:${PORTSDIR}/security/p5-IO-Socket-SSL
|
|
SSL_RUN_DEPENDS= p5-IO-Socket-SSL>=2.007:${PORTSDIR}/security/p5-IO-Socket-SSL
|
|
|
|
CONFIGURE_ENV= PERL5_CPAN_IS_RUNNING=1
|
|
NO_ARCH= yes
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORT_OPTIONS:MIPV6} && ${PERL_LEVEL} < 502000
|
|
BUILD_DEPENDS+= p5-IO-Socket-IP>=0.20:${PORTSDIR}/net/p5-IO-Socket-IP
|
|
RUN_DEPENDS+= p5-IO-Socket-IP>=0.20:${PORTSDIR}/net/p5-IO-Socket-IP
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|