aboutsummaryrefslogtreecommitdiff
path: root/net/pecl-ip2location
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-12-13 18:20:21 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-12-13 18:20:21 +0000
commit206c197fad3d6bb76d1839d6fd3d82394603c5fb (patch)
tree85669417446c5a422215ec5c8183ec8891e9b829 /net/pecl-ip2location
parentc66ecfff29fb82ca4725ee9e805e347f85f6cf1a (diff)
downloadports-206c197fad3d6bb76d1839d6fd3d82394603c5fb.tar.gz
ports-206c197fad3d6bb76d1839d6fd3d82394603c5fb.zip
Notes
Diffstat (limited to 'net/pecl-ip2location')
-rw-r--r--net/pecl-ip2location/Makefile23
-rw-r--r--net/pecl-ip2location/distinfo2
-rw-r--r--net/pecl-ip2location/pkg-descr8
3 files changed, 33 insertions, 0 deletions
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 <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>
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