summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/pear-Net_GeoIP/Makefile26
-rw-r--r--net/pear-Net_GeoIP/distinfo3
-rw-r--r--net/pear-Net_GeoIP/pkg-descr4
4 files changed, 34 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 139faa791c0a..e031860f1c56 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -586,6 +586,7 @@
SUBDIR += pear-Net_Dict
SUBDIR += pear-Net_Finger
SUBDIR += pear-Net_Geo
+ SUBDIR += pear-Net_GeoIP
SUBDIR += pear-Net_IPv6
SUBDIR += pear-Net_Ident
SUBDIR += pear-Net_LDAP
diff --git a/net/pear-Net_GeoIP/Makefile b/net/pear-Net_GeoIP/Makefile
new file mode 100644
index 000000000000..5a858b2ec1ed
--- /dev/null
+++ b/net/pear-Net_GeoIP/Makefile
@@ -0,0 +1,26 @@
+# Ports collection makefile for: pear-Net_GeoIP
+# Date created: 2007/04/31
+# Whom: Martin Wilke <miwi@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net_GeoIP
+PORTVERSION= 1.0.0.r1
+CATEGORIES= net pear
+DISTNAME= Net_GeoIP-1.0.0RC1
+
+MAINTAINER= miwi@FreeBSD.org
+COMMENT= Library to perform geo-location lookups of IP addresses.
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
+ ${PEARDIR}/Cache.php:${PORTSDIR}/sysutils/pear-Cache \
+ ${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+CATEGORY= Net
+FILES= GeoIP.php GeoIP/DMA.php GeoIP/Location.php
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
+.include <bsd.port.post.mk>
diff --git a/net/pear-Net_GeoIP/distinfo b/net/pear-Net_GeoIP/distinfo
new file mode 100644
index 000000000000..cc4f6903eec8
--- /dev/null
+++ b/net/pear-Net_GeoIP/distinfo
@@ -0,0 +1,3 @@
+MD5 (PEAR/Net_GeoIP-1.0.0RC1.tgz) = 482f93c9d386ed864bbba7ad967fc789
+SHA256 (PEAR/Net_GeoIP-1.0.0RC1.tgz) = e1aee90477a54b514ca6bbf350d2f0df89d05db70c266420cdc261f7805afe36
+SIZE (PEAR/Net_GeoIP-1.0.0RC1.tgz) = 14983
diff --git a/net/pear-Net_GeoIP/pkg-descr b/net/pear-Net_GeoIP/pkg-descr
new file mode 100644
index 000000000000..7b7fb51061b9
--- /dev/null
+++ b/net/pear-Net_GeoIP/pkg-descr
@@ -0,0 +1,4 @@
+A library that uses Maxmind's GeoIP databases to accurately determine
+geographic location of an IP address.
+
+WWW: http://pear.php.net/package/Net_GeoIP/