mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
38 lines
851 B
Makefile
38 lines
851 B
Makefile
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
|
|
|
PORTNAME= trickle
|
|
PORTVERSION= 1.07
|
|
PORTREVISION= 7
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://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>
|