freebsd-ports/net/throttled/Makefile
Jason E. Hale 5c7ce9306d - Update to 0.5.2
- Add LICENSE

While here:
- Trim Makefile header

PR:		ports/169062
Submitted by:	koobs <koobs.freebsd@gmail.com>
Approved by:	maintainer timeout
		makc, avilla (mentors, implicit)
Feature safe:	yes
2012-10-16 10:05:39 +00:00

27 lines
569 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
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>