2002-08-15 15:34:10 +02:00
|
|
|
# New ports collection makefile for: GeoIP
|
|
|
|
# Date created: 10 August 2002
|
|
|
|
# Whom: Yen-Ming Lee <leeym@leeym.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= GeoIP
|
2011-07-23 18:39:41 +02:00
|
|
|
PORTVERSION= 1.4.8
|
2012-07-04 13:22:49 +02:00
|
|
|
PORTREVISION= 3
|
2007-07-22 21:53:52 +02:00
|
|
|
CATEGORIES= net geography
|
2009-01-20 16:03:24 +01:00
|
|
|
MASTER_SITES= http://geolite.maxmind.com/download/geoip/api/c/
|
2002-08-15 15:34:10 +02:00
|
|
|
|
2009-03-06 19:14:36 +01:00
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Find the country that any IP address or hostname originates from
|
2002-08-15 15:34:10 +02:00
|
|
|
|
2011-07-23 18:39:41 +02:00
|
|
|
CONFIGURE_ARGS= CC="${CC}" PATH="${PATH}" \
|
|
|
|
CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-08-15 00:25:09 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-08-15 15:34:10 +02:00
|
|
|
|
2009-02-27 15:40:43 +01:00
|
|
|
MAN1= geoiplookup.1 geoipupdate.1 geoiplookup6.1
|
2002-08-15 15:34:10 +02:00
|
|
|
|
2012-07-04 13:22:49 +02:00
|
|
|
SUB_FILES= geoipupdate.sh
|
|
|
|
|
2011-07-24 00:30:39 +02:00
|
|
|
run-autotools:
|
|
|
|
@${REINPLACE_CMD} -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
|
|
|
|
${WRKSRC}/aclocal.m4
|
|
|
|
|
2008-07-03 23:51:55 +02:00
|
|
|
post-install:
|
2012-07-04 13:22:49 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/geoipupdate.sh ${PREFIX}/bin/
|
2008-07-03 23:51:55 +02:00
|
|
|
|
2002-08-15 15:34:10 +02:00
|
|
|
.include <bsd.port.mk>
|