summaryrefslogtreecommitdiff
path: root/net/php-geoip
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2012-02-06 22:44:56 +0000
committerfhajny <fhajny@pkgsrc.org>2012-02-06 22:44:56 +0000
commitfb86e2e127c6c0c598f7d53c733e413bb25f6f73 (patch)
treea3690f2ee3e7d7aed74145e5b1204e8160d1366d /net/php-geoip
parent411bbf2cab010b96b2649ea5e759c0a1edc8df31 (diff)
downloadpkgsrc-fb86e2e127c6c0c598f7d53c733e413bb25f6f73.tar.gz
Import php53-geoip-1.0.8 as net/php-geoip.
This PHP extension allows you to find the location of an IP address - City, State, Country, Longitude, Latitude, and other information as all, such as ISP and connection type. For more info, please visit Maxmind's website.
Diffstat (limited to 'net/php-geoip')
-rw-r--r--net/php-geoip/DESCR3
-rw-r--r--net/php-geoip/Makefile20
-rw-r--r--net/php-geoip/distinfo5
3 files changed, 28 insertions, 0 deletions
diff --git a/net/php-geoip/DESCR b/net/php-geoip/DESCR
new file mode 100644
index 00000000000..fa00dc25c9a
--- /dev/null
+++ b/net/php-geoip/DESCR
@@ -0,0 +1,3 @@
+This PHP extension allows you to find the location of an IP address - City,
+State, Country, Longitude, Latitude, and other information as all, such as ISP
+and connection type. For more info, please visit Maxmind's website.
diff --git a/net/php-geoip/Makefile b/net/php-geoip/Makefile
new file mode 100644
index 00000000000..ed9bc41a89e
--- /dev/null
+++ b/net/php-geoip/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/02/06 22:44:56 fhajny Exp $
+#
+
+MODNAME= geoip
+PECL_VERSION= 1.0.8
+CATEGORIES= net geography
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://pecl.php.net/package/geoip/
+COMMENT= PHP module to map IP address to geographic places
+LICENSE= php
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --with-${MODNAME}
+CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${BUILDLINK_DIR}
+
+.include "../../lang/php/ext.mk"
+.include "../../net/GeoIP/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/php-geoip/distinfo b/net/php-geoip/distinfo
new file mode 100644
index 00000000000..d1a25baff80
--- /dev/null
+++ b/net/php-geoip/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/02/06 22:44:56 fhajny Exp $
+
+SHA1 (php-geoip/geoip-1.0.8.tgz) = f8d17da3e192002332ab54b9b4ab0f5deeaf9f15
+RMD160 (php-geoip/geoip-1.0.8.tgz) = cea5d556b2d502f40cc197cb8acec09d8482aac0
+Size (php-geoip/geoip-1.0.8.tgz) = 10061 bytes