# New ports collection makefile for:	GeoIP
# Date created:				10 August 2002
# Whom:	      				Yen-Ming Lee <leeym@leeym.com>
#
# $FreeBSD: ports/net/GeoIP/Makefile,v 1.26 2005/09/16 00:21:55 pav Exp $
#

PORTNAME=	GeoIP
PORTVERSION=	1.3.14
CATEGORIES=	net
MASTER_SITES=	http://www.maxmind.com/download/geoip/api/c/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Find the country that any IP address or hostname originates from

GNU_CONFIGURE=	yes
INSTALLS_SHLIB=	yes

MAN1=		geoiplookup.1 geoipupdate.1

post-install:
.if !exists(${PREFIX}/etc/GeoIP.conf)
	@${INSTALL_DATA} ${PREFIX}/etc/GeoIP.conf.default ${PREFIX}/etc/GeoIP.conf
.endif

.include <bsd.port.mk>
