blob: 0d799bee06f78f8347df2af9432c6bf4491a2787 (
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
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= Net-Libdnet
PORTVERSION= 0.98
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= dhn@FreeBSD.org
COMMENT= Libdnet interface
BUILD_DEPENDS= p5-Class-Gomor>=0:${PORTSDIR}/devel/p5-Class-Gomor
RUN_DEPENDS:= ${BUILD_DEPENDS}
LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet
USES= perl5
USE_PERL5= configure
CONFIGURE_ARGS= INC='-I${LOCALBASE}/include'
MAN3= Net::Libdnet.3 Net::Libdnet::Entry::Intf.3 Net::Libdnet::Intf.3 \
Net::Libdnet::Ip.3 Net::Libdnet::Eth.3 Net::Libdnet::Tun.3 \
Net::Libdnet::Route.3 Net::Libdnet::Fw.3 Net::Libdnet::Arp.3
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|dumbnet|dnet|g' ${WRKSRC}/Libdnet.xs
.include <bsd.port.mk>
|