mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
a9425224f1
PR: 216777 Approved by: mm (maintainer)
39 lines
862 B
Makefile
39 lines
862 B
Makefile
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= trickle
|
|
PORTVERSION= 1.07
|
|
PORTREVISION= 6
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://monkey.org/~marius/trickle/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Lightweight, portable bandwidth shaper
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libevent.so:devel/libevent
|
|
|
|
USES= libtool localbase
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} \
|
|
--sysconfdir=${PREFIX}/etc
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/trickle/trickle-overload.so
|
|
${INSTALL_DATA} ${FILESDIR}/trickled.conf ${STAGEDIR}${PREFIX}/etc/trickled.conf.sample
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|