openbsd-ports/net/GeoIP/Makefile

37 lines
901 B
Makefile
Raw Normal View History

2009-03-08 08:44:45 -04:00
# $OpenBSD: Makefile,v 1.21 2009/03/08 12:44:45 steven Exp $
COMMENT= find the country where IP address/hostname originates from
2009-03-08 08:44:45 -04:00
DISTNAME= GeoIP-1.4.6
SHARED_LIBS += GeoIP 7.1 # .5.6
2007-04-07 00:56:35 -04:00
SHARED_LIBS += GeoIPUpdate 1.0 # .0.0
CATEGORIES= net geo
HOMEPAGE= http://www.maxmind.com/geoip/
MASTER_SITES= http://www.maxmind.com/download/geoip/api/c/ \
http://www.maxmind.com/download/geoip/api/c/old/
2008-02-01 16:56:34 -05:00
# LGPL, GPL (parts of GeoIPUpdate)
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2005-12-09 14:33:45 -05:00
WANTLIB= c z
2009-03-08 08:44:45 -04:00
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
2003-12-07 01:46:44 -05:00
CONFIGURE_ARGS= --datadir=/var/db \
${CONFIGURE_SHARED}
2005-12-09 14:33:45 -05:00
USE_LIBTOOL= Yes
EXAMPLESDIR= ${PREFIX}/share/examples/GeoIP
FAKE_FLAGS= DEFAULT_CONFIG_FILE=${EXAMPLESDIR}/GeoIP.conf \
DEFAULT_DB_FILE=${EXAMPLESDIR}/GeoIP.dat
pre-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
.include <bsd.port.mk>