aboutsummaryrefslogtreecommitdiff
path: root/misc/p5-Geo-Coder-OSM
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-20 06:46:04 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-20 06:46:04 +0000
commit30ac0c9b15ab1a6ff58d46798b5dd65ce8e5aeaa (patch)
tree1a3a8367b954e957cbe52702796d36daa629e1b3 /misc/p5-Geo-Coder-OSM
parent68aecc19c2e8d426600ea6cccd501f52eeb6d057 (diff)
downloadports-30ac0c9b15ab1a6ff58d46798b5dd65ce8e5aeaa.tar.gz
ports-30ac0c9b15ab1a6ff58d46798b5dd65ce8e5aeaa.zip
- Add p5-Geo-Coder-OSM 0.02
Geo::Coder::OSM provides an interface to the OpenStreet Nominatim geocoding service. WWW: http://search.cpan.org/dist/Geo-Coder-OSM/
Notes
Notes: svn path=/head/; revision=283968
Diffstat (limited to 'misc/p5-Geo-Coder-OSM')
-rw-r--r--misc/p5-Geo-Coder-OSM/Makefile36
-rw-r--r--misc/p5-Geo-Coder-OSM/distinfo2
-rw-r--r--misc/p5-Geo-Coder-OSM/pkg-descr4
-rw-r--r--misc/p5-Geo-Coder-OSM/pkg-plist7
4 files changed, 49 insertions, 0 deletions
diff --git a/misc/p5-Geo-Coder-OSM/Makefile b/misc/p5-Geo-Coder-OSM/Makefile
new file mode 100644
index 000000000000..3eab85b1d36d
--- /dev/null
+++ b/misc/p5-Geo-Coder-OSM/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: p5-Geo-Coder-OSM
+# Date created: 2011-10-13
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Geo-Coder-OSM
+PORTVERSION= 0.02
+CATEGORIES= misc geography perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Geocode addresses with the OpenStreetMap Nominatim API
+
+BUILD_DEPENDS= p5-JSON>=2:${PORTSDIR}/converters/p5-JSON \
+ p5-JSON-XS>=2:${PORTSDIR}/converters/p5-JSON-XS \
+ p5-URI>=1.36:${PORTSDIR}/net/p5-URI \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS= p5-JSON>=2:${PORTSDIR}/converters/p5-JSON \
+ p5-JSON-XS>=2:${PORTSDIR}/converters/p5-JSON-XS \
+ p5-URI>=1.36:${PORTSDIR}/net/p5-URI \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+
+PERL_CONFIGURE= yes
+
+MAN3= Geo::Coder::OSM.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.82:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/misc/p5-Geo-Coder-OSM/distinfo b/misc/p5-Geo-Coder-OSM/distinfo
new file mode 100644
index 000000000000..22ccbeba5ffb
--- /dev/null
+++ b/misc/p5-Geo-Coder-OSM/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Geo-Coder-OSM-0.02.tar.gz) = bb813b188ac64dfaca46ee1398eb88c73cc12a2ab13b10bf865a45462b63a885
+SIZE (Geo-Coder-OSM-0.02.tar.gz) = 5653
diff --git a/misc/p5-Geo-Coder-OSM/pkg-descr b/misc/p5-Geo-Coder-OSM/pkg-descr
new file mode 100644
index 000000000000..736022981c53
--- /dev/null
+++ b/misc/p5-Geo-Coder-OSM/pkg-descr
@@ -0,0 +1,4 @@
+Geo::Coder::OSM provides an interface to the OpenStreet Nominatim geocoding
+service.
+
+WWW: http://search.cpan.org/dist/Geo-Coder-OSM/
diff --git a/misc/p5-Geo-Coder-OSM/pkg-plist b/misc/p5-Geo-Coder-OSM/pkg-plist
new file mode 100644
index 000000000000..9f717f57f190
--- /dev/null
+++ b/misc/p5-Geo-Coder-OSM/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Geo/Coder/OSM.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder/OSM/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder/OSM
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo
+@dirrmtry %%SITE_PERL%%/Geo/Coder
+@dirrmtry %%SITE_PERL%%/Geo