1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/net/throttled/Makefile
Vanilla I. Shu d91bb96f1e Stagify.
Approved by:	portmgr@ (blanket approval)
2014-06-24 05:54:20 +00:00

26 lines
576 B
Makefile

# Created by: quest <quest@mac.com>
# $FreeBSD$
PORTNAME= throttled
PORTVERSION= 0.5.2
CATEGORIES= net
MASTER_SITES= http://www.intrarts.com/Files/
EXTRACT_SUFX= .tgz
MAINTAINER= quest@mac.com
COMMENT= Bandwidth shaping and QoS solution
LICENSE= GPLv3
USES= gmake
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>