1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Add pecl-geoip 0.2.0, map IP address to geographic places.

PR:		ports/110798
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Cheng-Lung Sung 2007-03-28 01:38:47 +00:00
parent 50fb9034ec
commit 7824849090
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188614
4 changed files with 36 additions and 0 deletions

View File

@ -593,6 +593,7 @@
SUBDIR += pear-SOAP SUBDIR += pear-SOAP
SUBDIR += pear-XML_RPC SUBDIR += pear-XML_RPC
SUBDIR += pecl-cvsclient SUBDIR += pecl-cvsclient
SUBDIR += pecl-geoip
SUBDIR += pecl-radius SUBDIR += pecl-radius
SUBDIR += pecl-yaz SUBDIR += pecl-yaz
SUBDIR += pen SUBDIR += pen

27
net/pecl-geoip/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: pecl-geoip
# Date created: 2007-03-25
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= geoip
PORTVERSION= 0.2.0
CATEGORIES= net www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= gslin@gslin.org
COMMENT= Map IP address to geographic places
LIB_DEPENDS= GeoIP:${PORTSDIR}/net/GeoIP
USE_PHP= yes
USE_PHPEXT= yes
post-patch:
${REINPLACE_CMD} -e 's/-ldl//g' ${WRKSRC}/config.m4
.include <bsd.port.mk>

3
net/pecl-geoip/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (geoip/geoip-0.2.0.tgz) = 4784c875e4955f59ca4455c4f562573d
SHA256 (geoip/geoip-0.2.0.tgz) = bb2d0aee2f1eeaa97066485ec541809f42dd5baf2839742cd6d0efa3454d99dd
SIZE (geoip/geoip-0.2.0.tgz) = 5661

5
net/pecl-geoip/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
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.
WWW: http://www.maxmind.com/