summaryrefslogtreecommitdiff
path: root/textproc/p5-Search-Elasticsearch-Client-7_0/Makefile
blob: dfeb301cbb8b422398e11a6be038f167270d718e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
PORTNAME=	Search-Elasticsearch-Client-7_0
PORTVERSION=	8.12
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:EZIMUEL
PKGNAMEPREFIX=	p5-

MAINTAINER=	elastic@FreeBSD.org
COMMENT=	ElasticSearch API for 7.0 Servers
WWW=		https://metacpan.org/release/Search-Elasticsearch-Client-7_0

LICENSE=	APACHE20

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Devel-GlobalDestruction>=0:devel/p5-Devel-GlobalDestruction \
		p5-Hijk>=0.20:www/p5-Hijk \
		p5-HTTP-Message>=0:www/p5-HTTP-Message \
		p5-HTTP-Tiny>=0.043:www/p5-HTTP-Tiny \
		p5-JSON-MaybeXS>=1.002002:converters/p5-JSON-MaybeXS \
		p5-libwww>=0:www/p5-libwww \
		p5-Log-Any>=1.02:devel/p5-Log-Any \
		p5-Module-Runtime>=0:devel/p5-Module-Runtime \
		p5-Moo>=1.003:devel/p5-Moo \
		p5-namespace-clean>=0:devel/p5-namespace-clean \
		p5-Package-Stash>=0:devel/p5-Package-Stash \
		p5-Sub-Exporter>=0:devel/p5-Sub-Exporter \
		p5-Try-Tiny>=0:lang/p5-Try-Tiny \
		p5-URI-Escape-XS>=0:www/p5-URI-Escape-XS \
		p5-URI>=0:net/p5-URI
TEST_DEPENDS=	p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL \
		p5-JSON-XS>=0:converters/p5-JSON-XS \
		p5-Log-Any>=1.02:devel/p5-Log-Any \
		p5-Test-Deep>=0:devel/p5-Test-Deep \
		p5-Test-Exception>=0:devel/p5-Test-Exception

USES=		perl5
USE_PERL5=	configure

post-patch:
# avoid that space beause it causes: Tried to use make dependency with space for make that can't:
# see https://github.com/elastic/elasticsearch-perl/issues/240
# and https://github.com/elastic/elasticsearch-perl/commit/b3e4a35f341df394be6354d28ea553d15cfdd9e8
	${MV} "${WRKSRC}/lib/Search/Elasticsearch/Client/7_0/Direct/SearchableSnapshots copy.pm" ${WRKSRC}/lib/Search/Elasticsearch/Client/7_0/Direct/SearchableSnapshots.pm

.include <bsd.port.mk>