openbsd-ports/net/GeoIP/Makefile
merdely 241b722760 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN/ERRORS
Add $OpenBSD$ to p5-SNMP-Info/Makefile (ok kili@, simon@)
2007-09-15 22:36:51 +00:00

35 lines
823 B
Makefile

# $OpenBSD: Makefile,v 1.16 2007/09/15 22:36:51 merdely Exp $
COMMENT= find the country where IP address/hostname originates from
DISTNAME= GeoIP-1.4.3
SHARED_LIBS += GeoIP 5.3 # .5.3
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/
# LGPL
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= ${DESTDIRNAME}=${WRKINST} \
DEFAULT_CONFIG_FILE=${EXAMPLESDIR}/GeoIP.conf \
DEFAULT_DB_FILE=${EXAMPLESDIR}/GeoIP.dat
pre-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
.include <bsd.port.mk>