6d4f8472d6
ok sthen@
37 lines
903 B
Makefile
37 lines
903 B
Makefile
# $OpenBSD: Makefile,v 1.23 2011/05/12 15:32:32 giovanni Exp $
|
|
|
|
COMMENT= find the country where IP address/hostname originates from
|
|
|
|
DISTNAME= GeoIP-1.4.7
|
|
SHARED_LIBS += GeoIP 8.0 # .5.7
|
|
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/
|
|
|
|
# LGPL, GPL (parts of GeoIPUpdate)
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c z
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --datadir=/var/db \
|
|
${CONFIGURE_SHARED}
|
|
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>
|