# $NetBSD: Makefile,v 1.18 2024/11/16 12:07:59 wiz Exp $

DISTNAME=	Session-Storage-Secure-1.000
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	3
CATEGORIES=	www perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DA/DAGOLDEN/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://metacpan.org/release/Session-Storage-Secure
COMMENT=	Encrypted, expiring, compressed, serialized session data with integrity
LICENSE=	${PERL5_LICENSE}

USE_LANGUAGES=	# empty
PERL5_PACKLIST=	auto/Session/Storage/Secure/.packlist

DEPENDS+=	p5-Crypt-CBC>=3.01:../../security/p5-Crypt-CBC
DEPENDS+=	p5-Crypt-Rijndael-[0-9]*:../../security/p5-Crypt-Rijndael
DEPENDS+=	p5-Crypt-URandom-[0-9]*:../../security/p5-Crypt-URandom
DEPENDS+=	p5-Math-Random-ISAAC-XS-[0-9]*:../../math/p5-Math-Random-ISAAC-XS
DEPENDS+=	p5-Moo-[0-9]*:../../devel/p5-Moo
DEPENDS+=	p5-MooX-Types-MooseLike>=0.16:../../devel/p5-MooX-Types-MooseLike
DEPENDS+=	p5-Sereal-Decoder>=4.005:../../converters/p5-Sereal-Decoder
DEPENDS+=	p5-Sereal-Encoder-[0-9]*:../../converters/p5-Sereal-Encoder
DEPENDS+=	p5-String-Compare-ConstantTime-[0-9]*:../../textproc/p5-String-Compare-ConstantTime
DEPENDS+=	p5-namespace-clean-[0-9]*:../../devel/p5-namespace-clean

TOOL_DEPENDS+=	p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
TOOL_DEPENDS+=	p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
TOOL_DEPENDS+=	p5-Number-Tolerant-[0-9]*:../../math/p5-Number-Tolerant

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
