# New ports collection makefile for:	GeoIP
# Date created:				10 August 2002
# Whom:	      				Yen-Ming Lee <leeym@leeym.com>
#
# $FreeBSD$
#

PORTNAME=	GeoIP
PORTVERSION=	1.4.8
PORTREVISION=	2
CATEGORIES=	net geography
MASTER_SITES=	http://geolite.maxmind.com/download/geoip/api/c/

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

CONFIGURE_ARGS=	CC="${CC}" PATH="${PATH}" \
			CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"

USE_AUTOTOOLS=	libtool
USE_LDCONFIG=	yes

MAN1=		geoiplookup.1 geoipupdate.1 geoiplookup6.1

run-autotools:
	@${REINPLACE_CMD} -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
	${WRKSRC}/aclocal.m4

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

.include <bsd.port.mk>
://www.csie.ntu.edu.tw/~b01902062/git/freebsd-ports-graphics' title='freebsd-ports-graphics Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/~lantw44/cgit/cgit.cgi/'><img src='/~lantw44/cgit-data/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/~lantw44/cgit/cgit.cgi/'>index</a> : <a title='freebsd-ports-graphics' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/'>freebsd-ports-graphics</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='4a1a7bde8c860c62fcb8a14ab7763840fb56481f'/><select name='h' onchange='this.form.submit();'>
<option value='master'>master</option>
<option value='mesa-next' selected='selected'>mesa-next</option>
<option value='wayland'>wayland</option>
<option value='xorg-server-1.19.6'>xorg-server-1.19.6</option>
<option value='xserver-next'>xserver-next</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/about/'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/refs/?id=4a1a7bde8c860c62fcb8a14ab7763840fb56481f'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/graphics/gkrellkam2/distinfo'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/tree/graphics/gkrellkam2/distinfo?id=4a1a7bde8c860c62fcb8a14ab7763840fb56481f'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/graphics/gkrellkam2/distinfo?id=4a1a7bde8c860c62fcb8a14ab7763840fb56481f'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/diff/graphics/gkrellkam2/distinfo?id=4a1a7bde8c860c62fcb8a14ab7763840fb56481f'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/stats/graphics/gkrellkam2/distinfo'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/graphics/gkrellkam2/distinfo'>
<input type='hidden' name='id' value='4a1a7bde8c860c62fcb8a14ab7763840fb56481f'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/?id=4a1a7bde8c860c62fcb8a14ab7763840fb56481f'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/graphics?id=4a1a7bde8c860c62fcb8a14ab7763840fb56481f'>graphics</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/graphics/gkrellkam2?id=4a1a7bde8c860c62fcb8a14ab7763840fb56481f'>gkrellkam2</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/graphics/gkrellkam2/distinfo?id=4a1a7bde8c860c62fcb8a14ab7763840fb56481f'>distinfo</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/graphics/gkrellkam2/distinfo?id=4a1a7bde8c860c62fcb8a14ab7763840fb56481f&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/graphics/gkrellkam2/distinfo?id=6a12ba5ef35b1ee6d77dc1ddfaab71d27d03b652'>SIZEify.</a></td><td>trevor</td><td><span title='2004-01-29 15:24:56 +0800'>2004-01-29</span></td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+1</span></td></tr>