aboutsummaryrefslogtreecommitdiffstats
path: root/misc/p5-Geo-Coder-OpenCage/Makefile
blob: 956fb27880561fda1d8f62f7433443acf19bccdb (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
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Geo-Coder-OpenCage
PORTVERSION=    0.05
PORTREVISION=   1
CATEGORIES= misc geography perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:KAORU
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Geocode addresses with the OpenCage Geocoder API

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-JSON>=2.53:${PORTSDIR}/converters/p5-JSON \
        p5-List-MoreUtils>=0.33:${PORTSDIR}/lang/p5-List-MoreUtils \
        p5-URI>=1.60:${PORTSDIR}/net/p5-URI
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Test-Exception>=0.32:${PORTSDIR}/devel/p5-Test-Exception

USE_PERL5=  configure
USES=       perl5

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-HTTP-Tiny>=0.028:${PORTSDIR}/www/p5-HTTP-Tiny \
        p5-Pod-Perldoc>=3.21:${PORTSDIR}/textproc/p5-Pod-Perldoc
RUN_DEPENDS+=   p5-HTTP-Tiny>=0.028:${PORTSDIR}/www/p5-HTTP-Tiny \
        p5-Pod-Perldoc>=3.21:${PORTSDIR}/textproc/p5-Pod-Perldoc
.endif

.include <bsd.port.post.mk>