mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
94817f0784
LICENSE= PD Note that although Public Domain is not technically a license, it's handled in the same way as licenses here, which is a common practice (Arch, Gentoo, Fedora, Debian, even FOSSology do the same). Convert all ports which redefine Public Domain LICENSE to LICENSE=PD. Approved by: portmgr (bapt) Differential Revision: D4149
39 lines
897 B
Makefile
39 lines
897 B
Makefile
# Created by: mharo@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ttcp
|
|
PORTVERSION= 1.12
|
|
PORTREVISION= 1
|
|
CATEGORIES= benchmarks net
|
|
MASTER_SITES= ftp://ftp.sgi.com/sgi/src/ttcp/
|
|
DISTFILES= ttcp.c ttcp.1 README
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
EXTRACT_ONLY= # none
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
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>
|