# Created by: Lars Balker Rasmussen <lbr@FreeBSD.org>
# $FreeBSD: head/databases/p5-DBIx-Class-EncodedColumn/Makefile 449893 2017-09-15 08:58:46Z mat $

PORTNAME=	DBIx-Class-EncodedColumn
PORTVERSION=	0.00015
CATEGORIES=	databases perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Automatically encode columns

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	p5-DBIx-Class>=0.06002:databases/p5-DBIx-Class \
		p5-SQL-Translator>=0.09.003:databases/p5-SQL-Translator \
		p5-Sub-Name>=0.04:devel/p5-Sub-Name
RUN_DEPENDS:=	${BUILD_DEPENDS}
TEST_DEPENDS=	p5-DBD-SQLite>=0:databases/p5-DBD-SQLite \
		p5-Dir-Self>=0:devel/p5-Dir-Self \
		p5-Test-Exception>=0:devel/p5-Test-Exception

USES=		perl5
USE_PERL5=	configure

OPTIONS_DEFINE=	BLOWFISH OPENPGP
OPTIONS_DEFAULT=BLOWFISH OPENPGP
BLOWFISH_DESC=	Blowfish support
OPENPGP_DESC=	Crypt::OpenPGP (gpg) support

BLOWFISH_BUILD_DEPENDS=	p5-Crypt-Eksblowfish>=0:security/p5-Crypt-Eksblowfish
BLOWFISH_RUN_DEPENDS=	p5-Crypt-Eksblowfish>=0:security/p5-Crypt-Eksblowfish
OPENPGP_BUILD_DEPENDS=	p5-Crypt-CAST5_PP>=0:security/p5-Crypt-CAST5_PP \
			p5-Crypt-OpenPGP>=0:security/p5-Crypt-OpenPGP
OPENPGP_RUN_DEPENDS=	p5-Crypt-CAST5_PP>=0:security/p5-Crypt-CAST5_PP \
			p5-Crypt-OpenPGP>=0:security/p5-Crypt-OpenPGP

.include <bsd.port.mk>
