PORTNAME=	Crypt-RSA
PORTVERSION=	1.99
PORTREVISION=	2
CATEGORIES=	security perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	RSA public-key cryptosystem
WWW=		https://metacpan.org/release/Crypt-RSA

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

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Class-Loader>=2.00:devel/p5-Class-Loader \
		p5-Convert-ASCII-Armour>=0:converters/p5-Convert-ASCII-Armour \
		p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \
		p5-Crypt-CBC>=0:security/p5-Crypt-CBC \
		p5-Crypt-Primes>=0.38:security/p5-Crypt-Primes \
		p5-Crypt-Random>=0.34:security/p5-Crypt-Random \
		p5-Data-Buffer>=0:misc/p5-Data-Buffer \
		p5-Digest-MD2>=0:security/p5-Digest-MD2 \
		p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \
		p5-Math-Pari>=2.001804:math/p5-Math-Pari \
		p5-Sort-Versions>=0:devel/p5-Sort-Versions \
		p5-Tie-EncryptedHash>=0:security/p5-Tie-EncryptedHash

USES=		perl5
USE_PERL5=	configure

.include <bsd.port.mk>
