aboutsummaryrefslogtreecommitdiffstats
path: root/net/GeoIP/Makefile
blob: c7758e529282c20fe820d1ba7ff9ac029b57fd42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# New ports collection makefile for:    GeoIP
# Date created:             10 August 2002
# Whom:                     Yen-Ming Lee <leeym@leeym.com>
#
# $FreeBSD$
#

PORTNAME=   GeoIP
PORTVERSION=    1.3.1
CATEGORIES= net
MASTER_SITES=   http://www.maxmind.com/download/geoip/api/c/

MAINTAINER= seanc@FreeBSD.org
COMMENT=    Find the country that any IP address or hostname originates from

GNU_CONFIGURE=  yes
INSTALLS_SHLIB= yes

MAN1=       geoiplookup.1 geoipupdate.1

post-install:
.if !exists(${PREFIX}/etc/GeoIP.conf.default)
    @${CP} ${PREFIX}/etc/GeoIP.conf.default ${PREFIX}/etc/GeoIP.conf
.endif

.include <bsd.port.mk>