1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/benchmarks/ttcp/Makefile
Philip M. Gollucci b96f14ddb3 - Use DOCSDIR
- Honor NOPORTDOCS

PR:             ports/142196
Submitted by:   Sevan Janiyan <venture37@geeklan.co.uk>
2010-01-04 02:11:24 +00:00

42 lines
957 B
Makefile

# New ports collection makefile for: ttcp
# Date created: Tue Jun 1 22:58:13 PDT 1999
# Whom: 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
EXTRACT_ONLY= #none
MAINTAINER= pgollucci@FreeBSD.org
COMMENT= Benchmarking tool for analysing TCP and UDP performance
MAKE_JOBS_SAFE= yes
NO_WRKSUBDIR= yes
DIST_SUBDIR= ${PORTNAME}
MAN1= ttcp.1
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 ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif
.include <bsd.port.mk>