aboutsummaryrefslogtreecommitdiff
path: root/net/file2pcap/Makefile
blob: 72e975722cdcaaf38e4b64560136ca7592995cba (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
# Created by: Nobutaka Mantani <nobutaka@FreeBSD.org>
# $FreeBSD$

PORTNAME=	file2pcap
PORTVERSION=	1.25
CATEGORIES=	net

MAINTAINER=	nobutaka@FreeBSD.org
COMMENT=	Tool to make packet captures containing the content of specified file

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

GH_ACCOUNT=	Cisco-Talos
GH_PROJECT=	file2pcap

USE_GITHUB=	yes

ALL_TARGET=	file2pcap

PLIST_FILES=	bin/file2pcap
PORTDOCS=	Changelog README.md TODO

OPTIONS_DEFINE=	DOCS

do-install:
		${INSTALL_PROGRAM} ${WRKSRC}/file2pcap ${STAGEDIR}/${PREFIX}/bin
		${MKDIR} ${STAGEDIR}/${DOCSDIR}
		${INSTALL_DATA} ${WRKSRC}/Changelog ${STAGEDIR}/${DOCSDIR}
		${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR}
		${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}/${DOCSDIR}

.include <bsd.port.mk>