freebsd-ports/net/GeoIP/Makefile

35 lines
829 B
Makefile
Raw Normal View History

# 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
PORTREVISION= 3
CATEGORIES= net geography
2009-01-20 16:03:24 +01:00
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
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
MAN1= geoiplookup.1 geoipupdate.1 geoiplookup6.1
SUB_FILES= geoipupdate.sh
run-autotools:
@${REINPLACE_CMD} -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
${WRKSRC}/aclocal.m4
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/geoipupdate.sh ${PREFIX}/bin/
.include <bsd.port.mk>