b90f611b9c
openafs did not pass check-plist (pre-existing) so fixed and bumped. Also, pkg-plist was sorted. mediatomb and spread also fail plist-checks but they weren't fixed. approved by: PTHREAD blanket
24 lines
538 B
Makefile
24 lines
538 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}|" \
|
|
${WRKSRC}/src/Makefile
|
|
|
|
.include <bsd.port.mk>
|