freebsd-ports/net/p5-IP-Country/Makefile
Yen-Ming Lee e9c9ae4d1f - Update to 2.21
- Unbreak under old perl
- Refine pkg-descr

PR:		95568
Submitted by:	leeym
Approved by:	maintainer
2006-04-22 01:45:48 +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.21
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>