blob: 1b9fdb08e70f25d43ca358da1e74442d2972b4f3 (
plain)
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
|
PORTNAME= ttcp
PORTVERSION= 1.13
CATEGORIES= benchmarks net
MASTER_SITES= https://codeberg.org/BSDforge/${PORTNAME}/archive/
MAINTAINER= portmaster@BSDforge.com
COMMENT= Benchmarking tool for analysing TCP and UDP performance
WWW= https://codeberg.org/BSDforge/ttcp/
LICENSE= BSD0CLAUSE
CFLAGS+= -Wno-strict-prototypes
PLIST_FILES= bin/ttcp share/man/man1/ttcp.1.gz
PORTDOCS= README CHANGES LICENSE
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/ttcp ${WRKSRC}/ttcp.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ttcp ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${STAGEDIR}${PREFIX}/share/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|