# 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.40 2008/12/01 21:15:44 miwi Exp $
#

PORTNAME=	GeoIP
PORTVERSION=	1.4.5
PORTREVISION=	1
CATEGORIES=	net geography
MASTER_SITES=	http://www.maxmind.com/download/geoip/api/c/ \
		http://mirror.mcx2.org/

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

USE_GNOME=	gnometarget
USE_AUTOTOOLS=	libtool:15
USE_LDCONFIG=	yes

MAN1=		geoiplookup.1 geoipupdate.1

post-install:
	${INSTALL_SCRIPT} ${FILESDIR}/geoipupdate.sh ${PREFIX}/bin/

.include <bsd.port.mk>
