blob: b2b9f04ca534f98c56879875f933c4eb57b92ccf (
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
40
41
42
43
44
45
46
|
# 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= ports@FreeBSD.org
COMMENT= Benchmarking tool for analysing TCP and UDP performance
LICENSE= PUBLIC_DOMAIN
LICENSE_NAME= ${LICENSE:S/_/ /}
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_TEXT= The license: ${_LICENSE} (${_LICENSE_NAME}) is standard, please read from the web.
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>
|