1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/net-mgmt/p5-Net-IP/Makefile
Eitan Adler d0251b8742 Simplify post-patch target
Submitted by:	sunpoet
Feature safe:	yes
2012-12-04 18:15:10 +00:00

25 lines
544 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
PERL_CONFIGURE= yes
MAN3= Net::IP.3
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>