1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/net-mgmt/p5-Net-IP/Makefile
2014-02-02 08:11:05 +00:00

24 lines
539 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= ports@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>