freebsd-ports/net-mgmt/p5-Net-Netmask/Makefile
Lars Thegler b8b1b7a8d2 - Update to version 1.9011
- Unbreak for perl 5.005_03

Approved by:	erwin (mentor)
2004-06-05 10:52:16 +00:00

31 lines
661 B
Makefile

# New ports collection makefile for: p5-Net-Netmask
# Date created: Jan 28 2000
# Whom: Wei-chun Chao
#
# $FreeBSD$
#
PORTNAME= Net-Netmask
PORTVERSION= 1.9011
CATEGORIES= net-mgmt perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Perl module to parse, manipulate and lookup IP network blocks
PERL_CONFIGURE= yes
MAN3= Net::Netmask.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503
post-configure:
${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
${PERL} -pi -e '$$_="" if /use warnings/;' ${WRKSRC}/Netmask.pm
.endif
.include <bsd.port.post.mk>