openbsd-ports/net/GeoIP/Makefile
naddy 7c6bb27b82 Import GeoIP 1.2.0.
Submitted by Xavier Santolaria <xavier@santolaria.net>.

GeoIP is a C library that enables the user to find the country that any IP
address or hostname originates from.
2003-06-27 14:55:35 +00:00

32 lines
748 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2003/06/27 14:55:35 naddy Exp $
COMMENT= "find the country where IP address/hostname originates from"
DISTNAME= GeoIP-1.2.0
CATEGORIES= net
HOMEPAGE= http://www.maxmind.com/geoip/
MASTER_SITES= http://www.maxmind.com/download/geoip/api/c/
MAINTAINER= Xavier Santolaria <xavier@santolaria.net>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --datadir=/var/db
EXAMPLESDIR= ${PREFIX}/share/examples/GeoIP
FAKE_FLAGS= ${DESTDIRNAME}=${WRKINST} \
DEFAULT_CONFIG_FILE=${EXAMPLESDIR}/GeoIP.conf \
DEFAULT_DB_FILE=${EXAMPLESDIR}/GeoIP.dat
pre-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
.include <bsd.port.mk>