ports/130935: [NEW PORT]misc/pear-Services_GeoNames:A PHP5 Interface to the GeoNames Public API

Wen Heping wenheping at gmail.com
Sat Jan 24 08:50:03 UTC 2009


>Number:         130935
>Category:       ports
>Synopsis:       [NEW PORT]misc/pear-Services_GeoNames:A PHP5 Interface to the GeoNames Public API
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 24 08:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD 8.0-CURRENT
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT-200811 FreeBSD 8.0-CURRENT-200811 #0: Thu Nov  6 00:32:12 UTC 2008     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Services_GeoNames is a PHP5 interface to the various webservices
offered by the GeoNames project.

The GeoNames database contains over 8,000,000 geographical names
corresponding to over 6,500,000 unique features. All features are
categorized into one out of nine feature classes and further
subcategorized into one out of 645 feature codes. Beyond names of
places in various languages, data stored include latitude, longitude,
elevation, population, administrative subdivision and postal codes.
All coordinates use the WGS84 system (World Geodetic System 1984).

Those data are accessible free of charge through a number of Web
services and a daily database export. The Web services include
direct and reverse geocoding,finding places through postal codes,
finding places next to a given place, and finding Wikipedia articles
about neighbouring places.

WWW: http://pear.php.net/package/Services_GeoNames
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pear-Services_GeoNames
#	pear-Services_GeoNames/pkg-descr
#	pear-Services_GeoNames/distinfo
#	pear-Services_GeoNames/Makefile
#
echo c - pear-Services_GeoNames
mkdir -p pear-Services_GeoNames > /dev/null 2>&1
echo x - pear-Services_GeoNames/pkg-descr
sed 's/^X//' >pear-Services_GeoNames/pkg-descr << 'c7dcaf50331c50fb97ee9afcf26669ff'
XServices_GeoNames is a PHP5 interface to the various webservices 
Xoffered by the GeoNames project.
X
XThe GeoNames database contains over 8,000,000 geographical names 
Xcorresponding to over 6,500,000 unique features. All features are
Xcategorized into one out of nine feature classes and further
Xsubcategorized into one out of 645 feature codes. Beyond names of
Xplaces in various languages, data stored include latitude, longitude,
Xelevation, population, administrative subdivision and postal codes.
XAll coordinates use the WGS84 system (World Geodetic System 1984).
X
XThose data are accessible free of charge through a number of Web 
Xservices and a daily database export. The Web services include
Xdirect and reverse geocoding,finding places through postal codes,
Xfinding places next to a given place, and finding Wikipedia articles
Xabout neighbouring places.
X
XWWW: http://pear.php.net/package/Services_GeoNames
c7dcaf50331c50fb97ee9afcf26669ff
echo x - pear-Services_GeoNames/distinfo
sed 's/^X//' >pear-Services_GeoNames/distinfo << '2b750d184f4ecd34e848c3006507ad8d'
XMD5 (PEAR/Services_GeoNames-0.2.3.tgz) = aba63e256fbb90dbacf7ea2c96a94811
XSHA256 (PEAR/Services_GeoNames-0.2.3.tgz) = 3ee2475c44b5f465344960eb4a11f0e4cb5e84b87b65826152ef25216d28ba5a
XSIZE (PEAR/Services_GeoNames-0.2.3.tgz) = 48820
2b750d184f4ecd34e848c3006507ad8d
echo x - pear-Services_GeoNames/Makefile
sed 's/^X//' >pear-Services_GeoNames/Makefile << 'f8d452135c43fe3777c28ca47580661f'
X# Ports collection makefile for:  pear-Services_GeoNames
X# Date created:			  24 Jan 2009
X# Whom:				  Wen Heping <wenheping at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Services_GeoNames
XPORTVERSION=	0.2.3
XCATEGORIES=	www pear
X
XMAINTAINER=	wenheping at gmail.com
XCOMMENT=	A PHP5 Interface to the GeoNames Public API
X
XBUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
X		${PEARDIR}/HTTP/Request2.php:${PORTSDIR}/www/pear-HTTP_Request2
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XFILES=		Services/GeoNames.php  Services/GeoNames/Exception.php
XEXAMPLES=	examples1.php
XTESTS=		AllTests.php \
X		data/test_children.dat data/test_cities.dat \
X		data/test_countrycode.dat data/test_countryinfo.dat \
X		data/test_countrysubdivision.dat data/test_earthquakes.dat \
X		data/test_findnearby.dat data/test_findnearbyplacename.dat \
X		data/test_findnearbypostalcodes.dat data/test_findnearbystreets.dat \
X		data/test_findnearbyweather.dat data/test_findnearbywikipedia.dat \
X		data/test_findnearestaddress.dat data/test_findnearestintersection.dat \
X		data/test_get.dat data/test_gtopo30.dat \
X		data/test_hierarchy.dat data/test_neighbourhood.dat \
X		data/test_neighbours.dat data/test_other_03.dat \
X		data/test_other_06.dat data/test_postalcodecountryinfo.dat \
X		data/test_postalcodelookup.dat data/test_postalcodesearch.dat \
X		data/test_search.dat data/test_siblings.dat \
X		data/test_srtm3.dat data/test_timezone.dat \
X		data/test_weather.dat data/test_weathericao.dat \
X		data/test_wikipediaboundingbox.dat data/test_wikipediasearch.dat \
X		setup.php \
X		test_children.phpt test_cities.phpt \
X		test_countrycode.phpt test_countryinfo.phpt \
X		test_countrysubdivision.phpt test_earthquakes.phpt \
X		test_findnearby.phpt test_findnearbyplacename.phpt \
X		test_findnearbypostalcodes.phpt test_findnearbystreets.phpt \
X		test_findnearbyweather.phpt test_findnearbywikipedia.phpt \
X		test_findnearestaddress.phpt test_findnearestintersection.phpt \
X		test_get.phpt test_gtopo30.phpt \
X		test_hierarchy.phpt test_neighbourhood.phpt \
X		test_neighbours.phpt test_other_01.phpt \
X		test_other_02.phpt test_other_03.phpt \
X		test_other_04.phpt test_other_05.phpt \
X		test_other_06.phpt test_other_07.phpt \
X		test_postalcodecountryinfo.phpt test_postalcodelookup.phpt \
X		test_postalcodesearch.phpt test_search.phpt \
X		test_siblings.phpt test_srtm3.phpt \
X		test_timezone.phpt test_weather.phpt \
X		test_weathericao.phpt test_wikipediaboundingbox.phpt \
X		test_wikipediasearch.phpt
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
X.include <bsd.port.post.mk>
f8d452135c43fe3777c28ca47580661f
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list