freebsd-ports/net/p5-IP-Country/Makefile
Rong-En Fan e54bc63b75 - Update to 2.22
PR:		ports/107074
Submitted by:	chinsan
Approved by:	Dikshie <dikshie at lapi.itb.ac.id> (maintainer)
2006-12-24 15:37:34 +00:00

39 lines
939 B
Makefile

# New ports collection makefile for: net/p5-IP-Countries
# Date created: 20 June 2005
# Whom: dikshie <dikshie@lapi.itb.ac.id>
#
# $FreeBSD$
#
PORTNAME= IP-Country
PORTVERSION= 2.22
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/N/NW/NWETTERS
PKGNAMEPREFIX= p5-
MAINTAINER= dikshie@lapi.itb.ac.id
COMMENT= Fast lookup of country codes from IP addresses
BUILD_DEPENDS= ${SITE_PERL}/Geography/Countries.pm:${PORTSDIR}/misc/p5-Geography-Countries
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN1= ip2cc.1
MAN3= IP::Authority.3 \
IP::Country::Fast.3 \
IP::Country::MaxMind.3 \
IP::Country::Medium.3 \
IP::Country::Slow.3 \
IP::Country.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${REINPLACE_CMD} -e '/warnings/d'
${FIND} ${WRKSRC} -name "*.pm.bak" -delete
.endif
.include <bsd.port.post.mk>