summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-11 02:36:45 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-11 02:36:45 +0000
commit9847d499016452800c627fa4395677934c13d063 (patch)
treeb3be101c3546707573d434dff6320e9d4161ffab
parentacfa211e1c44279cbbb17b96a8893e28f1fb523f (diff)
downloadFreeBSD-ports-9847d499016452800c627fa4395677934c13d063.zip
FreeBSD-ports-9847d499016452800c627fa4395677934c13d063.tar.gz
- Add LICENSE
- Strip library - Use @sample for config file handling
-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 c41f1a0..5ab7630 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 a1d25fe..6fa2622 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
OpenPOWER on IntegriCloud