aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/pathchirp/Makefile
blob: 81cabb61f8fb52433e41352dae56e2daf05d0361 (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
PORTNAME=	pathchirp
PORTVERSION=	2.4.1
PORTREVISION=	1
CATEGORIES=	benchmarks
MASTER_SITES=	http://www.spin.rice.edu/Software/pathChirp/

MAINTAINER=	dikshie@lapi.itb.ac.id
COMMENT=	Measurement tool for available bandwidth estimation
WWW=		http://www.spin.rice.edu/Software/pathChirp/

LICENSE=		RICE MARYLAND
LICENSE_COMB=		multi
LICENSE_NAME_RICE=	Rice University License
LICENSE_FILE_RICE=	${PATCHDIR}/LICENSE-RICE
LICENSE_PERMS_RICE=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_NAME_MARYLAND=	University of Maryland License
LICENSE_FILE_MARYLAND=	${PATCHDIR}/LICENSE-MARYLAND
LICENSE_PERMS_MARYLAND=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

GNU_CONFIGURE=	yes
USES=		gmake
USE_CSTD=	gnu89
MAKE_JOBS_UNSAFE=	yes

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

OPTIONS_DEFINE=	DOCS

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} ${STAGEDIR}${PREFIX}/bin
.endfor
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>