# Created by: Tom Judge <tj@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_1_0/textproc/p5-ElasticSearch-legacy/Makefile 345535 2014-02-21 20:11:59Z tj $

PORTNAME=	ElasticSearch
PORTVERSION=	0.66
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN/../by-authors/id/D/DR/DRTECH/
PKGNAMEPREFIX=	p5-
PKGNAMESUFFIX=	-legacy

MAINTAINER=	tj@FreeBSD.org
COMMENT=	ElasticSearch API

LICENSE=	ART10 GPLv1
LICENSE_COMB=	dual

BUILD_DEPENDS:=	p5-File-Temp>=0:${PORTSDIR}/devel/p5-File-Temp
RUN_DEPENDS:=	p5-ElasticSearch-SearchBuilder>=0:${PORTSDIR}/textproc/p5-ElasticSearch-SearchBuilder \
		p5-Carp>=0:${PORTSDIR}/devel/p5-Carp \
		p5-Any-URI-Escape>=0:${PORTSDIR}/www/p5-Any-URI-Escape \
		p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils \
		p5-Encode>=0:${PORTSDIR}/converters/p5-Encode \
		p5-Exporter>=0:${PORTSDIR}/devel/p5-Exporter \
		p5-File-Path>=0:${PORTSDIR}/devel/p5-File-Path \
		p5-PathTools>=0:${PORTSDIR}/devel/p5-PathTools \
		p5-File-Temp>=0:${PORTSDIR}/devel/p5-File-Temp \
		p5-HTTP-Lite>=0:${PORTSDIR}/www/p5-HTTP-Lite \
		p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
		p5-HTTP-Tiny>=0:${PORTSDIR}/www/p5-HTTP-Tiny \
		p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress \
		p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
		p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
		p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken \
		p5-URI>=0:${PORTSDIR}/net/p5-URI \
		p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML \
		p5-constant>=0:${PORTSDIR}/devel/p5-constant \
		p5-parent>=0:${PORTSDIR}/devel/p5-parent
TEST_DEPENDS=	p5-Test-Differences>=0:${PORTSDIR}/devel/p5-Test-Differences \
		p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception

DEPRECATED=	Use textproc/p5-Elasticsearch which is the official client

USES=		perl5
USE_PERL5=	configure

.include <bsd.port.mk>
