blob: 27c60d54fe110a019faec95f837914c70cc4ca5e (
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
|
# Ports collection makefile for: throttled
# Date created: 11 Jun 2004
# Whom: quest <quest@mac.com>
#
# $FreeBSD$
#
PORTNAME= throttled
PORTVERSION= 0.4.1
CATEGORIES= net
MASTER_SITES= http://www.intrarts.com/Files/
EXTRACT_SUFX= .tgz
MAINTAINER= quest@mac.com
COMMENT= Bandwidth shaping and QoS solution
USE_GMAKE= yes
USE_REINPLACE= yes
PLIST_FILES= sbin/throttled sbin/throttled-startup
post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|c++|${CXX}|;s|-O3|${CXXFLAGS}| \
;s|-pthread|${PTHREAD_LIBS}|" ${WRKSRC}/src/Makefile
.include <bsd.port.mk>
|