aboutsummaryrefslogtreecommitdiff
path: root/misc/p5-Geo-GeoNames
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-11-29 06:59:54 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-11-29 06:59:54 +0000
commita53c612c4e0547965cca1cacd386a6296bad0808 (patch)
tree661e80b377dc107095bab5d1ef81c3d4dc03b691 /misc/p5-Geo-GeoNames
parent17842ea1b26d6ca932ad06b58772dc1d3ee15efe (diff)
downloadports-a53c612c4e0547965cca1cacd386a6296bad0808.tar.gz
ports-a53c612c4e0547965cca1cacd386a6296bad0808.zip
Notes
Diffstat (limited to 'misc/p5-Geo-GeoNames')
-rw-r--r--misc/p5-Geo-GeoNames/Makefile25
-rw-r--r--misc/p5-Geo-GeoNames/distinfo2
-rw-r--r--misc/p5-Geo-GeoNames/pkg-descr17
-rw-r--r--misc/p5-Geo-GeoNames/pkg-plist2
4 files changed, 46 insertions, 0 deletions
diff --git a/misc/p5-Geo-GeoNames/Makefile b/misc/p5-Geo-GeoNames/Makefile
new file mode 100644
index 000000000000..2317bff03e78
--- /dev/null
+++ b/misc/p5-Geo-GeoNames/Makefile
@@ -0,0 +1,25 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Geo-GeoNames
+PORTVERSION= 1.05
+CATEGORIES= misc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Perform geographical queries using GeoNames Web Services
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-JSON>=1.14:${PORTSDIR}/converters/p5-JSON \
+ p5-Mojolicious>=0:${PORTSDIR}/www/p5-Mojolicious \
+ p5-XML-Simple>=2.13:${PORTSDIR}/textproc/p5-XML-Simple
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+NO_ARCH= yes
+USE_PERL5= configure
+USES= perl5
+
+.include <bsd.port.mk>
diff --git a/misc/p5-Geo-GeoNames/distinfo b/misc/p5-Geo-GeoNames/distinfo
new file mode 100644
index 000000000000..282134b25a33
--- /dev/null
+++ b/misc/p5-Geo-GeoNames/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Geo-GeoNames-1.05.tar.gz) = b7e99d98caae1856868d5ec79de5c67e7109f6b2732375c8d777c4c20d869481
+SIZE (Geo-GeoNames-1.05.tar.gz) = 20288
diff --git a/misc/p5-Geo-GeoNames/pkg-descr b/misc/p5-Geo-GeoNames/pkg-descr
new file mode 100644
index 000000000000..70def85025f7
--- /dev/null
+++ b/misc/p5-Geo-GeoNames/pkg-descr
@@ -0,0 +1,17 @@
+Geo::GeoNames provides a perl interface to the webservices found at [1]. That
+is, given a given placename or postalcode, the module will look it up and return
+more information (longitude, lattitude, etc) for the given placename or
+postalcode. Wikipedia lookups are also supported. If more than one match is
+found, a list of locations will be returned.
+
+Before you start, get a free GeoNames account and enable it for access to the
+free web service:
+- Get an account [2]
+- Respond to the email
+- Login and enable your account for free access [3]
+
+[1] http://api.geonames.org/
+[2] http://www.geonames.org/login
+[3] http://www.geonames.org/enablefreewebservice
+
+WWW: http://search.cpan.org/dist/Geo-GeoNames/
diff --git a/misc/p5-Geo-GeoNames/pkg-plist b/misc/p5-Geo-GeoNames/pkg-plist
new file mode 100644
index 000000000000..e87c4fbea9c1
--- /dev/null
+++ b/misc/p5-Geo-GeoNames/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Geo/GeoNames.pm
+%%PERL5_MAN3%%/Geo::GeoNames.3.gz