PORTNAME=	Net-FTPSSL
PORTVERSION=	0.42
CATEGORIES=	ftp perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	FTP over SSL/TLS class
WWW=		https://metacpan.org/release/Net-FTPSSL

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-IO-Socket-SSL>=1.26:security/p5-IO-Socket-SSL \
		p5-Net-SSLeay>=0:security/p5-Net-SSLeay

USES=		perl5
USE_PERL5=	configure

NO_ARCH=	yes

# Avoid interactive prompt
post-patch:
	@${REINPLACE_CMD} -e '/prompt/d' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>
