mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
cf118ccf87
Reported by: lwhsu
39 lines
972 B
Makefile
39 lines
972 B
Makefile
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 <bsd.port.mk>
|