aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/pathchirp/Makefile
blob: 40568ac0e48b216766b1a189e262b986a19ece71 (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
# New ports collection makefile for:    pathchirp
# Date created:         19 May 2005
# Whom:             dikshie <dikshie@lapi.itb.ac.id>
#
# $FreeBSD$
#

PORTNAME=   pathchirp
PORTVERSION=    2.4.1
CATEGORIES= benchmarks
MASTER_SITES=   http://www.spin.rice.edu/Software/pathChirp/

MAINTAINER= dikshie@lapi.itb.ac.id
COMMENT=    A measurement tool for available bandwidth estimation

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_REINPLACE=  yes

PLIST_FILES=    bin/pathchirp_rcv bin/pathchirp_snd bin/pathchirp_run
PORTDOCS=   README

post-patch:
    @${REINPLACE_CMD} -e '/CFLAGS.*O4/d' ${WRKSRC}/configure

do-install:
.for f in rcv snd run
    ${INSTALL_PROGRAM} ${WRKSRC}/Bin/${ARCH}/${PORTNAME}_${f} ${PREFIX}/bin
.endfor

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>