2004-12-15 19:31:20 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2004/12/16 00:31:20 alek Exp $
|
2003-06-27 10:55:35 -04:00
|
|
|
|
|
|
|
COMMENT= "find the country where IP address/hostname originates from"
|
|
|
|
|
2004-11-11 14:32:56 -05:00
|
|
|
DISTNAME= GeoIP-1.3.8
|
2003-06-27 10:55:35 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.maxmind.com/geoip/
|
|
|
|
MASTER_SITES= http://www.maxmind.com/download/geoip/api/c/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c m z
|
2003-06-27 10:55:35 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2003-12-07 01:46:44 -05:00
|
|
|
CONFIGURE_ARGS= --datadir=/var/db \
|
|
|
|
${CONFIGURE_SHARED}
|
2003-06-27 10:55:35 -04:00
|
|
|
|
|
|
|
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>
|