svn commit: r402569 - in head/misc: . p5-Geo-GeoNames
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Nov 29 06:59:56 UTC 2015
Author: sunpoet
Date: Sun Nov 29 06:59:54 2015
New Revision: 402569
URL: https://svnweb.freebsd.org/changeset/ports/402569
Log:
- Add p5-Geo-GeoNames 1.05
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/
Added:
head/misc/p5-Geo-GeoNames/
head/misc/p5-Geo-GeoNames/Makefile (contents, props changed)
head/misc/p5-Geo-GeoNames/distinfo (contents, props changed)
head/misc/p5-Geo-GeoNames/pkg-descr (contents, props changed)
head/misc/p5-Geo-GeoNames/pkg-plist (contents, props changed)
Modified:
head/misc/Makefile
Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile Sun Nov 29 06:21:02 2015 (r402568)
+++ head/misc/Makefile Sun Nov 29 06:59:54 2015 (r402569)
@@ -327,6 +327,7 @@
SUBDIR += p5-Geo-Coder-Ovi
SUBDIR += p5-Geo-Coder-PlaceFinder
SUBDIR += p5-Geo-Coder-TomTom
+ SUBDIR += p5-Geo-GeoNames
SUBDIR += p5-Geo-Postcodes
SUBDIR += p5-Geo-Postcodes-DK
SUBDIR += p5-Geo-Postcodes-NO
Added: head/misc/p5-Geo-GeoNames/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/p5-Geo-GeoNames/Makefile Sun Nov 29 06:59:54 2015 (r402569)
@@ -0,0 +1,25 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Geo-GeoNames
+PORTVERSION= 1.05
+CATEGORIES= misc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at 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>
Added: head/misc/p5-Geo-GeoNames/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/p5-Geo-GeoNames/distinfo Sun Nov 29 06:59:54 2015 (r402569)
@@ -0,0 +1,2 @@
+SHA256 (Geo-GeoNames-1.05.tar.gz) = b7e99d98caae1856868d5ec79de5c67e7109f6b2732375c8d777c4c20d869481
+SIZE (Geo-GeoNames-1.05.tar.gz) = 20288
Added: head/misc/p5-Geo-GeoNames/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/p5-Geo-GeoNames/pkg-descr Sun Nov 29 06:59:54 2015 (r402569)
@@ -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/
Added: head/misc/p5-Geo-GeoNames/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/p5-Geo-GeoNames/pkg-plist Sun Nov 29 06:59:54 2015 (r402569)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Geo/GeoNames.pm
+%%PERL5_MAN3%%/Geo::GeoNames.3.gz
More information about the svn-ports-all
mailing list