2b422add6d
bump package. Requested by sebastian.rother_AT_jpberlin.de
36 lines
895 B
Makefile
36 lines
895 B
Makefile
# $OpenBSD: Makefile,v 1.20 2009/01/05 10:25:38 sthen Exp $
|
|
|
|
COMMENT= find the country where IP address/hostname originates from
|
|
|
|
DISTNAME= GeoIP-1.4.5
|
|
PKGNAME= ${DISTNAME}p0
|
|
SHARED_LIBS += GeoIP 7.0 # .5.5
|
|
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
|
|
|
|
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>
|