- Add LICENSE

- Strip library
- Use @sample for config file handling
This commit is contained in:
Dmitry Marakasov 2015-05-11 02:36:45 +00:00
parent d8943937d1
commit 675d382814
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386040
2 changed files with 10 additions and 5 deletions

View file

@ -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}

View file

@ -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