1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/benchmarks/ttcp/Makefile
Steve Wills bfeabf688f benchmarks/ttcp: Fix MASTER_SITES
While here, assign maintainer

PR:		241273
Submitted by:	Chris Hutchinson <portmaster@bsdforge.com>
2019-10-16 21:54:21 +00:00

39 lines
925 B
Makefile

# Created by: mharo@FreeBSD.org
# $FreeBSD$
PORTNAME= ttcp
PORTVERSION= 1.12
PORTREVISION= 2
CATEGORIES= benchmarks net
MASTER_SITES= https://BSDforge.com/projects/source/benchmarks/ttcp/
DISTFILES= ttcp.c ttcp.1 README
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= # none
MAINTAINER= portmaster@BSDforge.com
COMMENT= Benchmarking tool for analysing TCP and UDP performance
LICENSE= PD
NO_WRKSUBDIR= yes
OPTIONS_DEFINE= DOCS
post-extract:
${CP} ${DISTDIR}/${DIST_SUBDIR}/ttcp.c ${WRKSRC}
${CP} ${DISTDIR}/${DIST_SUBDIR}/ttcp.1 ${WRKSRC}
${CP} ${DISTDIR}/${DIST_SUBDIR}/README ${WRKSRC}
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}${MAN1PREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>