summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/trickle/Makefile13
-rw-r--r--net/trickle/pkg-plist2
2 files changed, 10 insertions, 5 deletions
diff --git a/net/trickle/Makefile b/net/trickle/Makefile
index c41f1a032951..5ab7630e30b8 100644
--- a/net/trickle/Makefile
+++ b/net/trickle/Makefile
@@ -3,16 +3,17 @@
PORTNAME= trickle
PORTVERSION= 1.07
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://monkey.org/~marius/trickle/
MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight, portable bandwidth shaper
-LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
-OPTIONS_DEFINE= DOCS
+LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2
USES= libtool
GNU_CONFIGURE= yes
@@ -26,8 +27,12 @@ CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
post-install:
- ${INSTALL_DATA} ${FILESDIR}/trickled.conf ${STAGEDIR}${PREFIX}/etc/trickled.conf.default
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/trickle/trickle-overload.so
+ ${INSTALL_DATA} ${FILESDIR}/trickled.conf ${STAGEDIR}${PREFIX}/etc/trickled.conf.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
diff --git a/net/trickle/pkg-plist b/net/trickle/pkg-plist
index a1d25fe36ba1..6fa26228823d 100644
--- a/net/trickle/pkg-plist
+++ b/net/trickle/pkg-plist
@@ -1,7 +1,7 @@
bin/trickle
bin/tricklectl
bin/trickled
-etc/trickled.conf.default
+@sample etc/trickled.conf.sample
man/man1/trickle.1.gz
man/man5/trickled.conf.5.gz
man/man8/trickled.8.gz