aboutsummaryrefslogtreecommitdiffstats
path: root/net/pkt-gen/Makefile
blob: 08f52a35f3205f19866babe04a135966e55f4293 (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
29
30
31
32
33
# $FreeBSD$

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>