blob: 47cacf998e2e044afad719bcbcb4bdafee8f5808 (
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
34
35
36
37
38
39
|
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>
|