freebsd-ports/net/p5-Net-Frame/Makefile
Cheng-Lung Sung eda4325c57 Net::Frame is a fork of Net::Packet. The goal here was to greatly
simplify the use of the frame crafting framework. Net::Packet does
many things undercover, and it was difficult to document all the thingies.

Also, Net::Packet may suffer from unease of use, because frames were
assembled using layers stored in L2, L3, L4 and L7 attributes. Net::Frame
removes all this, and is splitted in different modules, for those who only
want to use part of the framework, and not whole framework.

Finally, anyone can create a layer, and put it on his CPAN space, because
of the modularity Net::Frame offers. For an example,
see Net::Frame::Layer::ICMPv4 on my CPAN space.

WWW: http://search.cpan.org/dist/Net-Frame/
2007-01-09 01:55:40 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: Net-Frame
# Date created: 08 Jan 2007
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Net-Frame
PORTVERSION= 1.03
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Base framework for frame crafting
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Bit/Vector.pm:${PORTSDIR}/math/p5-Bit-Vector \
${SITE_PERL}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6 \
${SITE_PERL}/Net/IPv6Addr.pm:${PORTSDIR}/net-mgmt/p5-Net-IPv6Addr \
p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Net::Frame.3 Net::Frame::Layer.3 \
Net::Frame::Layer::ARP.3 \
Net::Frame::Layer::ETH.3 \
Net::Frame::Layer::IPv4.3 \
Net::Frame::Layer::NULL.3 \
Net::Frame::Layer::PPP.3 \
Net::Frame::Layer::RAW.3 \
Net::Frame::Layer::SLL.3 \
Net::Frame::Layer::TCP.3 \
Net::Frame::Layer::UDP.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again
.endif
.include <bsd.port.post.mk>