This PECL extension enables you to get the geo location information of an IP

address, such as country, region or state, city, latitude and longitude, US
ZIP code, time zone, Internet Service Provider (ISP) or company name, domain
name, net speed, area code, weather station code, weather station name,
mobile country code (MCC), mobile network code (MNC) and carrier brand,
elevation, and usage type.

WWW: http://pecl.php.net/package/ip2location

PR:		195421
Submitted by:	Gasol Wu <gasol.wu@gmail.com>
This commit is contained in:
Pawel Pekala 2014-12-13 18:20:21 +00:00
parent c66ecfff29
commit 206c197fad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374669
4 changed files with 34 additions and 0 deletions

View File

@ -820,6 +820,7 @@
SUBDIR += pecl-cvsclient
SUBDIR += pecl-geoip
SUBDIR += pecl-gupnp
SUBDIR += pecl-ip2location
SUBDIR += pecl-mosquitto
SUBDIR += pecl-oauth
SUBDIR += pecl-radius

View File

@ -0,0 +1,23 @@
# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= ip2location
PORTVERSION= 6.0.3
CATEGORIES= net pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
MAINTAINER= gasol.wu@gmail.com
COMMENT= Get geo location information of an IP address
LICENSE= PHP301
LIB_DEPENDS= libIP2Location.so:${PORTSDIR}/net/ip2location
USES= tar:tgz
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (PECL/ip2location-6.0.3.tgz) = b36064446032d32e0cb4bfb86615a58ef5403ea9bfef31f695fb67c59ffb0434
SIZE (PECL/ip2location-6.0.3.tgz) = 321386

View File

@ -0,0 +1,8 @@
This PECL extension enables you to get the geo location information of an IP
address, such as country, region or state, city, latitude and longitude, US
ZIP code, time zone, Internet Service Provider (ISP) or company name, domain
name, net speed, area code, weather station code, weather station name,
mobile country code (MCC), mobile network code (MNC) and carrier brand,
elevation, and usage type.
WWW: http://pecl.php.net/package/ip2location