mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
5cf4b8ccf9
PR: ports/122786 (based on) Submitted by: Norbert Koch <nkoch at demig.de> Approved by: maintainer timeout (3 weeks)
31 lines
643 B
Makefile
31 lines
643 B
Makefile
# Ports collection makefile for: throttled
|
|
# Date created: 11 Jun 2004
|
|
# Whom: quest <quest@mac.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= throttled
|
|
PORTVERSION= 0.4.1
|
|
PORTREVISION= 2
|
|
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_RC_SUBR= ${PORTNAME}
|
|
|
|
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>
|