From 11041e40e3e31d2a414e817be31f2e96e95e05af Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Sat, 23 Dec 2006 02:35:46 +0000 Subject: [PATCH] Add pear-Net_Geo 1.0.4, geographical locations based on Internet address. PR: ports/107036 Submitted by: chinsan --- net/Makefile | 1 + net/pear-Net_Geo/Makefile | 25 +++++++++++++++++++++++++ net/pear-Net_Geo/distinfo | 3 +++ net/pear-Net_Geo/pkg-descr | 5 +++++ 4 files changed, 34 insertions(+) create mode 100644 net/pear-Net_Geo/Makefile create mode 100644 net/pear-Net_Geo/distinfo create mode 100644 net/pear-Net_Geo/pkg-descr diff --git a/net/Makefile b/net/Makefile index aae3bc6261b9..4a4eb6c21da9 100644 --- a/net/Makefile +++ b/net/Makefile @@ -561,6 +561,7 @@ SUBDIR += pear-Net_DNSBL SUBDIR += pear-Net_Dict SUBDIR += pear-Net_Finger + SUBDIR += pear-Net_Geo SUBDIR += pear-Net_IPv6 SUBDIR += pear-Net_Ident SUBDIR += pear-Net_LDAP diff --git a/net/pear-Net_Geo/Makefile b/net/pear-Net_Geo/Makefile new file mode 100644 index 000000000000..fc0ecfed9ca8 --- /dev/null +++ b/net/pear-Net_Geo/Makefile @@ -0,0 +1,25 @@ +# Ports collection makefile for: pear-Net_Geo +# Date created: 2006/12/22 +# Whom: chinsan +# +# $FreeBSD$ +# + +PORTNAME= Net_Geo +PORTVERSION= 1.0.4 +CATEGORIES= net pear + +MAINTAINER= chinsan@FreeBSD.org +COMMENT= Geographical locations based on Internet address + +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= Geo.php README + +.include +.include "${PORTSDIR}/devel/pear/bsd.pear.mk" +.include diff --git a/net/pear-Net_Geo/distinfo b/net/pear-Net_Geo/distinfo new file mode 100644 index 000000000000..8acf75b47b17 --- /dev/null +++ b/net/pear-Net_Geo/distinfo @@ -0,0 +1,3 @@ +MD5 (PEAR/Net_Geo-1.0.4.tgz) = 1584f47c7f3cf006ab4793bbac416b09 +SHA256 (PEAR/Net_Geo-1.0.4.tgz) = 14430303f028257c53598987eeaa3145dd8d360ecce8ea69adad7ca792767e6a +SIZE (PEAR/Net_Geo-1.0.4.tgz) = 7655 diff --git a/net/pear-Net_Geo/pkg-descr b/net/pear-Net_Geo/pkg-descr new file mode 100644 index 000000000000..26f51d5d2279 --- /dev/null +++ b/net/pear-Net_Geo/pkg-descr @@ -0,0 +1,5 @@ +Obtains geographical information based on IP number, domain name, +or AS number. Makes use of CAIDA Net_Geo lookup, HostIP or +localizer extension. + +WWW: http://pear.php.net/package/Net_Geo/