2012-07-11 05:38:39 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2012/07/11 09:38:39 sthen Exp $
|
2003-06-27 10:55:35 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= find the country where IP address/hostname originates from
|
2003-06-27 10:55:35 -04:00
|
|
|
|
2012-07-08 14:07:41 -04:00
|
|
|
DISTNAME= GeoIP-1.4.8
|
2011-05-12 11:32:32 -04:00
|
|
|
SHARED_LIBS += GeoIP 8.0 # .5.7
|
2007-04-07 00:56:35 -04:00
|
|
|
SHARED_LIBS += GeoIPUpdate 1.0 # .0.0
|
2006-11-02 02:03:29 -05:00
|
|
|
CATEGORIES= net geo
|
2003-06-27 10:55:35 -04:00
|
|
|
|
2012-07-08 14:07:41 -04:00
|
|
|
HOMEPAGE= http://www.maxmind.com/app/c
|
2009-01-05 05:25:38 -05:00
|
|
|
MASTER_SITES= http://www.maxmind.com/download/geoip/api/c/ \
|
|
|
|
http://www.maxmind.com/download/geoip/api/c/old/
|
2003-06-27 10:55:35 -04:00
|
|
|
|
2008-02-01 16:56:34 -05:00
|
|
|
# LGPL, GPL (parts of GeoIPUpdate)
|
2003-06-27 10:55:35 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2012-07-11 05:38:39 -04:00
|
|
|
|
2005-12-09 14:33:45 -05:00
|
|
|
WANTLIB= c z
|
2003-06-27 10:55:35 -04:00
|
|
|
|
2012-03-29 09:38:12 -04:00
|
|
|
SEPARATE_BUILD= Yes
|
2009-03-08 08:44:45 -04:00
|
|
|
|
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}
|
2005-12-09 14:33:45 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2012-07-08 14:07:41 -04:00
|
|
|
USE_GROFF= Yes
|
2003-06-27 10:55:35 -04:00
|
|
|
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/GeoIP
|
|
|
|
|
2008-01-04 12:48:33 -05:00
|
|
|
FAKE_FLAGS= DEFAULT_CONFIG_FILE=${EXAMPLESDIR}/GeoIP.conf \
|
2003-06-27 10:55:35 -04:00
|
|
|
DEFAULT_DB_FILE=${EXAMPLESDIR}/GeoIP.dat
|
|
|
|
|
2012-07-11 05:38:39 -04:00
|
|
|
post-patch:
|
|
|
|
@cd ${WRKSRC}; touch Makefile.in aclocal.m4 configure.in conf/Makefile.am
|
|
|
|
|
2003-06-27 10:55:35 -04:00
|
|
|
pre-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|