# $FreeBSD: head/benchmarks/uperf/Makefile 532027 2020-04-18 11:50:37Z 0mp $ PORTNAME= uperf DISTVERSION= 1.0.7 PORTEPOCH= 1 CATEGORIES= benchmarks MAINTAINER= 0mp@FreeBSD.org COMMENT= Network performance tool to model and replay of networking patterns LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= ssl USE_GITHUB= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${DATADIR}/workloads OPTIONS_DEFINE= DOCS post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/tests (cd ${WRKSRC}/tests && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tests \ "! -name Makefile.in ! -name Makefile.am ! -name Makefile") post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS README.md ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR}/docs (cd ${WRKSRC}/docs && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/docs "! -name CNAME") @${MKDIR} ${STAGEDIR}${DOCSDIR}/manual (cd ${WRKSRC}/manual && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/manual "! -name Makefile") .include