2003-06-06 15:12:17 +02:00
|
|
|
# New ports collection makefile for: trickle
|
|
|
|
# Date created: 04.06.2003
|
|
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= trickle
|
2008-04-17 00:36:42 +02:00
|
|
|
PORTVERSION= 1.07
|
2008-08-19 18:40:17 +02:00
|
|
|
PORTREVISION= 1
|
2003-06-06 15:12:17 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://monkey.org/~marius/trickle/
|
|
|
|
|
2008-04-21 19:36:40 +02:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2003-06-06 15:12:17 +02:00
|
|
|
COMMENT= Lightweight, portable bandwidth shaper
|
|
|
|
|
2008-08-19 18:40:17 +02:00
|
|
|
LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent
|
2003-06-06 15:12:17 +02:00
|
|
|
|
2007-02-01 03:42:05 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-06-06 15:12:17 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-12-05 14:29:01 +01:00
|
|
|
USE_LDCONFIG= yes
|
2003-06-06 15:12:17 +02:00
|
|
|
|
2006-05-08 00:39:48 +02:00
|
|
|
CONFIGURE_ARGS+=--with-libevent=${LOCALBASE} \
|
|
|
|
--sysconfdir=${PREFIX}/etc
|
2003-06-06 15:12:17 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
MAN1= trickle.1
|
|
|
|
MAN5= trickled.conf.5
|
|
|
|
MAN8= trickled.8
|
|
|
|
|
|
|
|
post-install:
|
2006-05-11 19:09:01 +02:00
|
|
|
if [ ! -f ${PREFIX}/etc/trickled.conf ]; then \
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/trickled.conf ${PREFIX}/etc/trickled.conf; \
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/trickled.conf ${PREFIX}/etc/trickled.conf.default; \
|
|
|
|
else \
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/trickled.conf ${PREFIX}/etc/trickled.conf.default; \
|
|
|
|
fi
|
2003-06-06 15:12:17 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|