aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/p5-Net-Netmask/Makefile
blob: 98971f966913e48f4ad6eac7b9cb4a3c455fea7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# New ports collection makefile for:    p5-Net-Netmask
# Date created:             Jan 28 2000
# Whom:                 Wei-chun Chao
#
# $FreeBSD$
#

PORTNAME=   Net-Netmask
PORTVERSION=    1.9012
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 '$$_="" if /use warnings/;' ${WRKSRC}/Netmask.pm
.endif

.include <bsd.port.post.mk>