e9c9ae4d1f
- Unbreak under old perl - Refine pkg-descr PR: 95568 Submitted by: leeym Approved by: maintainer
39 lines
939 B
Makefile
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>
|