freebsd-ports/net-mgmt/p5-Net-IP/Makefile
Doug Barton deda664425 Throw my ports back in the pool, and make my intentions clear for the
various ports that I've created.

I bid fond fare well
A chapter closes for me
What opens for you?
2012-10-08 10:38:47 +00:00

30 lines
707 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
PORTNAME= Net-IP
PORTVERSION= 1.25
PORTREVISION= 3
CATEGORIES= net-mgmt perl5 ipv6
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ports@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:
@${CP} ${WRKSRC}/IP.pm ${WRKSRC}/IP.pm.presed
@${SED} -e "1853s#\\s+#\s*#g" ${WRKSRC}/IP.pm.presed > \
${WRKSRC}/IP.pm
@${CP} ${WRKSRC}/ipcount ${WRKSRC}/ipcount.presed
@${SED} -e "76s#count#count = 0#" ${WRKSRC}/ipcount.presed > \
${WRKSRC}/ipcount
.include <bsd.port.mk>