summaryrefslogtreecommitdiff
path: root/net/trickle/Makefile
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2006-05-11 17:09:01 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2006-05-11 17:09:01 +0000
commit4d313e4841034b614223befdb0bdb0d992b590f7 (patch)
tree0114b3b4b5898f737b88aad0274b34808394048f /net/trickle/Makefile
parent- Update to 5.36 [1] (diff)
- Take the maintainship.
- Enable the recv() and send(), I am not sure why it was disabled on FreeBSD only but allow other OSs. It works great as I have tested it with a few of applications on FreeBSD 6.0 for a week. If anyone know why, please let me know. No respone from the author. - Add install the trickled.conf(.default) with examples. Took from Debian with a bit tweak. - Bump the PORTREVISION.
Notes
Notes: svn path=/head/; revision=162101
Diffstat (limited to 'net/trickle/Makefile')
-rw-r--r--net/trickle/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/trickle/Makefile b/net/trickle/Makefile
index dd04ff91944a..a349bf6d16f6 100644
--- a/net/trickle/Makefile
+++ b/net/trickle/Makefile
@@ -7,11 +7,11 @@
PORTNAME= trickle
PORTVERSION= 1.06
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://monkey.org/~marius/trickle/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mezz@FreeBSD.org
COMMENT= Lightweight, portable bandwidth shaper
LIB_DEPENDS= event-1.1a.1:${PORTSDIR}/devel/libevent
@@ -30,6 +30,12 @@ MAN5= trickled.conf.5
MAN8= trickled.8
post-install:
+ 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
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in README