summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-11 02:36:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-11 02:36:45 +0000
commit675d382814ad7f93de791a7234ed65bbd347ca84 (patch)
treeb3be101c3546707573d434dff6320e9d4161ffab /net
parentd8943937d1ef2c63c5ffc3f291571cf51828218e (diff)
downloadfreebsd-ports-675d382814ad7f93de791a7234ed65bbd347ca84.zip
- Add LICENSE
- Strip library - Use @sample for config file handling
Diffstat (limited to 'net')
-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