summaryrefslogtreecommitdiffstats
path: root/net/shaperprobe/Makefile
blob: 2cebf8349d63a762d22a03ca7f8ce3c43a12a565 (plain)
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
# Created by: Josh Carroll <josh.carroll@gmail.com>
# $FreeBSD$

PORTNAME=	shaperprobe
PORTVERSION=	0.2
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://www.cc.gatech.edu/~partha/diffprobe/
DISTNAME=	${PORTNAME}

MAINTAINER=	josh.carroll@gmail.com
COMMENT=	Utility to check for traffic shapers

LICENSE=	GPLv2

USES=		tar:tgz

MAKEFILE=	Makefile.osx
ALL_TARGET=	prober

PLIST_FILES=	bin/prober

post-patch:
# Unbreak the build against Clang
	@${REINPLACE_CMD} -E '/getLevelShift|smoothFilterRate/s,^inline ,,' \
		${WRKSRC}/tbdetect.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/prober ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>
OpenPOWER on IntegriCloud