blob: 19bad5265756e2a0f70e223c8fb56fcfe9e81cde (
plain)
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
30
31
32
|
PORTNAME= pkt-gen
PORTVERSION= g2017.08.06
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= shurd@FreeBSD.org
COMMENT= Packet sink/source using the netmap API
LICENSE= BSD2CLAUSE
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= luigirizzo
GH_PROJECT= netmap
GH_TAGNAME= 3c3ab5faa2ab9c89db09cd8339d0e96a1a78c41a
MAKEFILE= GNUmakefile
WRKSRC_SUBDIR= apps/pkt-gen
PATCH_WRKSRC= ${WRKSRC}/..
OPTIONS_DEFINE= PCAP
PCAP_DESC= Support loading packets from pcap file
OPTIONS_DEFAULT=PCAP
PCAP_MAKE_ARGS= WITH_PCAP=1
PLIST_FILES= bin/pkt-gen
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pkt-gen \
${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|