pkgsrc/net/GeoIP/buildlink2.mk
jmmv 6d926c66d2 Initial import of GeoIP, version 1.1.9:
GeoIP is a C library that enables the user to find the country that any IP
address or hostname originates from.  It uses a file based database that is
accurate as of March 2002.  This database simply contains IP blocks as keys,
and countries as values.  It should be more complete and accurate than using
reverse DNS lookups.

This module can be used to automatically select the geographically closest
mirror, to analyze your web server logs to determine the countries of your
visitors, for credit card fraud detection, and for software export controls.

Package initially provided by Juan RP through pkgsrc-wip, with several
changes by me.
2003-06-01 10:24:42 +00:00

29 lines
883 B
Makefile

# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/06/01 10:24:42 jmmv Exp $
#
# This Makefile fragment is included by packages that use GeoIP.
#
# This file was created automatically using createbuildlink 2.6.
#
.if !defined(GEOIP_BUILDLINK2_MK)
GEOIP_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= GeoIP
BUILDLINK_DEPENDS.GeoIP?= GeoIP>=1.1.9
BUILDLINK_PKGSRCDIR.GeoIP?= ../../net/GeoIP
EVAL_PREFIX+= BUILDLINK_PREFIX.GeoIP=GeoIP
BUILDLINK_PREFIX.GeoIP_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.GeoIP+= include/GeoIP.h
BUILDLINK_FILES.GeoIP+= include/GeoIPBitReader.h
BUILDLINK_FILES.GeoIP+= include/GeoIPCity.h
BUILDLINK_FILES.GeoIP+= include/GeoIPUpdate.h
BUILDLINK_FILES.GeoIP+= lib/libGeoIP.*
BUILDLINK_FILES.GeoIP+= lib/libGeoIPBitReader.*
BUILDLINK_FILES.GeoIP+= lib/libGeoIPUpdate.*
BUILDLINK_TARGETS+= GeoIP-buildlink
GeoIP-buildlink: _BUILDLINK_USE
.endif # GEOIP_BUILDLINK2_MK