1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/net/packetdrill/Makefile
Kevin Bowling fa26ee6230 net/packetdrill: update to 2019/02/26 head
Reviewed by:	tuexen
Approved by:	krion (mentor)
Sponsored by:	BBOX.io
Differential Revision:	https://reviews.freebsd.org/D19371
2019-02-27 09:25:37 +00:00

45 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= packetdrill
PORTVERSION= 0.0.2019022601
CATEGORIES= net ipv6
MAINTAINER= kbowling@FreeBSD.org
COMMENT= Network stack testing tool
LICENSE= GPLv2
USES= bison python:run uidfix
USE_GITHUB= yes
GH_ACCOUNT= freebsd-net
GH_TAGNAME= f626eee
WRKSRC_SUBDIR= gtests/net/packetdrill
PLIST_FILES= bin/${PORTNAME}
PORTDATA= packetdrill.el packetdrill.vim
PORTDOCS= README
PORTEXAMPLES= tests
OPTIONS_DEFINE= DOCS EXAMPLES
pre-build:
${INSTALL_DATA} ${FILESDIR}/Makefile ${FILESDIR}/Makefile.inc ${WRKSRC}
.for F in libpd packetdrill
${MKDIR} ${WRKSRC}/${F}
${INSTALL_DATA} ${FILESDIR}/Makefile.${F} ${WRKSRC}/${F}/Makefile
.endfor
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTDATA} \
${STAGEDIR}${DATADIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} ${PORTEXAMPLES} \
${STAGEDIR}${EXAMPLESDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>