1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net/shaperprobe/Makefile
Alexey Dokuchaev dd5a3fa42e - Fix the build (linking) against Clang by uninlining couple of functions
- While here, convert EXTRACT_SUFX to USES=tar:tgz and define ALL_TARGET,
  since upstream `all' target is racy
2014-03-15 12:06:49 +00:00

32 lines
638 B
Makefile

# 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>