aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/p5-Net-IP/Makefile
blob: 6b65386dec39af03bb66e8cff8b2e880dcb49287 (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
# New ports collection makefile for:   p5-Net-IP
# Date created:                30 May 2002
# Whom:                        Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#

PORTNAME=   Net-IP
PORTVERSION=    1.21
CATEGORIES= net-mgmt perl5 ipv6
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX=  p5-

MAINTAINER= lth@FreeBSD.org
COMMENT=    Perl extension for manipulating IPv4/IPv6 addresses

PERL_CONFIGURE= yes

MAN3=       Net::IP.3

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500800
post-patch:
    @${PERL} -pi -e '$$_ = "" if m|use 5.008|' ${WRKSRC}/Makefile.PL
.endif
.include <bsd.port.post.mk>