aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-06-08 21:24:42 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-06-08 21:24:42 +0800
commit67b1ff7a656abcbeabd0544e5e59520df9c6e7b5 (patch)
tree70e8f8a884d58509c447dc4977c0a9b4e44a12c7
parent660fcc2ec943b6c068a66d77782d1bb277f98a2f (diff)
downloadfreebsd-ports-gnome-67b1ff7a656abcbeabd0544e5e59520df9c6e7b5.tar.gz
freebsd-ports-gnome-67b1ff7a656abcbeabd0544e5e59520df9c6e7b5.tar.zst
freebsd-ports-gnome-67b1ff7a656abcbeabd0544e5e59520df9c6e7b5.zip
- Add p5-Geo-Coder-OpenCage 0.02
Geo::Coder::OpenCage provides an interface to the OpenCage geocoding service. WWW: http://search.cpan.org/dist/Geo-Coder-OpenCage/
-rw-r--r--misc/Makefile1
-rw-r--r--misc/p5-Geo-Coder-OpenCage/Makefile37
-rw-r--r--misc/p5-Geo-Coder-OpenCage/distinfo2
-rw-r--r--misc/p5-Geo-Coder-OpenCage/pkg-descr3
-rw-r--r--misc/p5-Geo-Coder-OpenCage/pkg-plist10
5 files changed, 53 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index a0ef4a1d8129..7d648083ac54 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -327,6 +327,7 @@
SUBDIR += p5-Geo-Coder-Multiple
SUBDIR += p5-Geo-Coder-Navteq
SUBDIR += p5-Geo-Coder-OSM
+ SUBDIR += p5-Geo-Coder-OpenCage
SUBDIR += p5-Geo-Coder-Ovi
SUBDIR += p5-Geo-Coder-PlaceFinder
SUBDIR += p5-Geo-Coder-TomTom
diff --git a/misc/p5-Geo-Coder-OpenCage/Makefile b/misc/p5-Geo-Coder-OpenCage/Makefile
new file mode 100644
index 000000000000..be114727e4a9
--- /dev/null
+++ b/misc/p5-Geo-Coder-OpenCage/Makefile
@@ -0,0 +1,37 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Geo-Coder-OpenCage
+PORTVERSION= 0.02
+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-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} < 501600
+BUILD_DEPENDS+= p5-Carp>=1.26:${PORTSDIR}/devel/p5-Carp
+RUN_DEPENDS+= p5-Carp>=1.26:${PORTSDIR}/devel/p5-Carp
+.endif
+
+.if ${PERL_LEVEL} < 502000
+BUILD_DEPENDS+= p5-HTTP-Tiny>=0.028:${PORTSDIR}/www/p5-HTTP-Tiny
+RUN_DEPENDS+= p5-HTTP-Tiny>=0.028:${PORTSDIR}/www/p5-HTTP-Tiny
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/misc/p5-Geo-Coder-OpenCage/distinfo b/misc/p5-Geo-Coder-OpenCage/distinfo
new file mode 100644
index 000000000000..bb1d5608c50b
--- /dev/null
+++ b/misc/p5-Geo-Coder-OpenCage/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Geo-Coder-OpenCage-0.02.tar.gz) = 1511eb2b9693ddd9906ac56424f792d08e19355bad76443d31680987924b00ac
+SIZE (Geo-Coder-OpenCage-0.02.tar.gz) = 10812
diff --git a/misc/p5-Geo-Coder-OpenCage/pkg-descr b/misc/p5-Geo-Coder-OpenCage/pkg-descr
new file mode 100644
index 000000000000..183629d3aed5
--- /dev/null
+++ b/misc/p5-Geo-Coder-OpenCage/pkg-descr
@@ -0,0 +1,3 @@
+Geo::Coder::OpenCage provides an interface to the OpenCage geocoding service.
+
+WWW: http://search.cpan.org/dist/Geo-Coder-OpenCage/
diff --git a/misc/p5-Geo-Coder-OpenCage/pkg-plist b/misc/p5-Geo-Coder-OpenCage/pkg-plist
new file mode 100644
index 000000000000..80602671ed0d
--- /dev/null
+++ b/misc/p5-Geo-Coder-OpenCage/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/Geo/Coder/OpenCage.pm
+%%SITE_PERL%%/Geo/Coder/README.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder/OpenCage/.packlist
+%%PERL5_MAN3%%/Geo::Coder::OpenCage.3.gz
+%%PERL5_MAN3%%/Geo::Coder::README.3.gz
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder/OpenCage
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo
+@dirrmtry %%SITE_PERL%%/Geo/Coder
+@dirrmtry %%SITE_PERL%%/Geo