2001-01-16 18:33:20 +01:00
|
|
|
# New ports collection makefile for: p5-NetAddr-IP
|
|
|
|
# Date created: 12 July 2000
|
|
|
|
# Whom: Christopher N. Harrell <cnh@ivmg.net>
|
2000-07-27 17:32:23 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= NetAddr-IP
|
2007-06-17 11:39:48 +02:00
|
|
|
PORTVERSION= 4.00.7
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt perl5
|
2001-01-16 18:33:20 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
2007-06-17 11:39:48 +02:00
|
|
|
MASTER_SITE_SUBDIR= NetAddr
|
2000-07-27 17:32:23 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
2006-08-22 12:48:30 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.([0-9])$/\1/}
|
2000-07-27 17:32:23 +02:00
|
|
|
|
2001-06-12 21:25:41 +02:00
|
|
|
MAINTAINER= tobez@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Perl module for working with IP addresses and blocks thereof
|
2000-07-27 17:32:23 +02:00
|
|
|
|
2001-03-01 07:39:18 +01:00
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
2006-08-22 12:48:30 +02:00
|
|
|
MAN3= NetAddr::IP.3 \
|
|
|
|
NetAddr::IP::Lite.3 \
|
|
|
|
NetAddr::IP::Util.3 \
|
|
|
|
NetAddr::IP::UtilPP.3
|
2000-07-27 17:32:23 +02:00
|
|
|
|
2005-04-03 13:21:27 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2001-10-14 23:29:36 +02:00
|
|
|
|
2006-08-22 12:48:30 +02:00
|
|
|
post-patch:
|
|
|
|
${PERL} -ni -e 'print unless /^=head1/../^=cut/' ${WRKSRC}/Lite/Util/Makefile.PL
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500700
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
|
2006-02-18 00:42:48 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2005-04-03 13:21:27 +02:00
|
|
|
.endif
|
2002-07-25 01:34:39 +02:00
|
|
|
|
2005-04-03 13:21:27 +02:00
|
|
|
.include <bsd.port.post.mk>
|