1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net-mgmt/p5-Net-IP/Makefile
2013-10-20 15:29:02 +00:00

24 lines
540 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@hadaly.org>
# $FreeBSD$
PORTNAME= Net-IP
PORTVERSION= 1.26
CATEGORIES= net-mgmt perl5 ipv6
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= eadler@FreeBSD.org
COMMENT= Perl extension for manipulating IPv4/IPv6 addresses
USES= perl5
USE_PERL5= configure
post-configure:
${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile
post-patch:
${REINPLACE_CMD} "1853s#\\s+#\s*#g" ${WRKSRC}/IP.pm
${REINPLACE_CMD} "76s#count#count = 0#" ${WRKSRC}/ipcount
.include <bsd.port.mk>