mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
a84c115a09
Approved by: portmgr (not really, but touches unstaged ports)
25 lines
565 B
Makefile
25 lines
565 B
Makefile
# Created by: quest <quest@mac.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= throttled
|
|
PORTVERSION= 0.5.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.intrarts.com/Files/
|
|
|
|
MAINTAINER= quest@mac.com
|
|
COMMENT= Bandwidth shaping and QoS solution
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= gmake tar:tgz
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
PLIST_FILES= sbin/throttled sbin/throttled-startup
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|/usr/local|${STAGEDIR}${PREFIX}|g" \
|
|
${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e "s|c++|${CXX}|;s|-O3|${CXXFLAGS}| \
|
|
;s|-pthread|${PTHREAD_LIBS}|" ${WRKSRC}/src/Makefile
|
|
|
|
.include <bsd.port.mk>
|