aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Geo-IP/Makefile
blob: 4ea72748ae2559bf2f9cec38d7183caee85bde5e (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
27
# New ports collection makefile for:    p5-Geo-IP
# Date created:             10 August 2002
# Whom:                     Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Geo-IP
PORTVERSION=    1.13
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN} \
        http://www.maxmind.com/download/geoip/api/perl/
MASTER_SITE_SUBDIR= Geo
PKGNAMEPREFIX=  p5-

MAINTAINER= seanc@FreeBSD.org
COMMENT=    Gets country name by IP or hostname

LIB_DEPENDS=    GeoIP.2:${PORTSDIR}/net/GeoIP

PERL_CONFIGURE= yes
CONFIGURE_ARGS= LIBS='-L${PREFIX}/lib' INC='-I${PREFIX}/include'

MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=       Geo::Mirror.3 Geo::IP.3 Geo::IP::Record.3

.include <bsd.port.mk>