diff --git a/net/Makefile b/net/Makefile index 6971c97e897f..3c2e54cd7042 100644 --- a/net/Makefile +++ b/net/Makefile @@ -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 diff --git a/net/pecl-ip2location/Makefile b/net/pecl-ip2location/Makefile new file mode 100644 index 000000000000..8a5b913c9914 --- /dev/null +++ b/net/pecl-ip2location/Makefile @@ -0,0 +1,23 @@ +# Created by: Gasol Wu +# $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 diff --git a/net/pecl-ip2location/distinfo b/net/pecl-ip2location/distinfo new file mode 100644 index 000000000000..ac40673ff0f7 --- /dev/null +++ b/net/pecl-ip2location/distinfo @@ -0,0 +1,2 @@ +SHA256 (PECL/ip2location-6.0.3.tgz) = b36064446032d32e0cb4bfb86615a58ef5403ea9bfef31f695fb67c59ffb0434 +SIZE (PECL/ip2location-6.0.3.tgz) = 321386 diff --git a/net/pecl-ip2location/pkg-descr b/net/pecl-ip2location/pkg-descr new file mode 100644 index 000000000000..06466032e2ad --- /dev/null +++ b/net/pecl-ip2location/pkg-descr @@ -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