blob: 47cacf998e2e044afad719bcbcb4bdafee8f5808 (
plain) (
tree)
|
|
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
WWW= https://uperf.org/
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 <bsd.port.mk>
|