summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-06-06 13:12:17 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-06-06 13:12:17 +0000
commit89f98bf6d92a6ecc933a2e91f5be260be725c2d9 (patch)
treeffb0f2337de76928ed98648c1edb4cd7655abed1 /net
parentDisable libmng detection. (diff)
New port: trickle
Trickled is a userspace bandwidth manager daemon. PR: 52950 Submitted by: Kirill Ponomarew
Notes
Notes: svn path=/head/; revision=82365
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/trickle/Makefile38
-rw-r--r--net/trickle/distinfo1
-rw-r--r--net/trickle/pkg-descr5
-rw-r--r--net/trickle/pkg-plist7
5 files changed, 52 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 89f2865bb11d..d01685c66fdb 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -673,6 +673,7 @@
SUBDIR += trafshow
SUBDIR += tramp
SUBDIR += tramp-emacs20
+ SUBDIR += trickle
SUBDIR += tridiavnc
SUBDIR += tsclient
SUBDIR += ttcp
diff --git a/net/trickle/Makefile b/net/trickle/Makefile
new file mode 100644
index 000000000000..09247c6612a0
--- /dev/null
+++ b/net/trickle/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: trickle
+# Date created: 04.06.2003
+# Whom: Kirill Ponomarew <ponomarew@oberon.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= trickle
+PORTVERSION= 1.06
+CATEGORIES= net
+MASTER_SITES= http://monkey.org/~marius/trickle/
+
+MAINTAINER= ponomarew@oberon.net
+COMMENT= Lightweight, portable bandwidth shaper
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
+
+GNU_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+
+CONFIGURE_ARGS+=--with-libevent=${LOCALBASE}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+MAN1= trickle.1
+MAN5= trickled.conf.5
+MAN8= trickled.8
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in README
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/trickle/distinfo b/net/trickle/distinfo
new file mode 100644
index 000000000000..834f23886b87
--- /dev/null
+++ b/net/trickle/distinfo
@@ -0,0 +1 @@
+MD5 (trickle-1.06.tar.gz) = 8e9b7fcdd49ee8fb94700dd1653f5537
diff --git a/net/trickle/pkg-descr b/net/trickle/pkg-descr
new file mode 100644
index 000000000000..004411847b2c
--- /dev/null
+++ b/net/trickle/pkg-descr
@@ -0,0 +1,5 @@
+Trickle is a portable lightweight userspace bandwidth shaper.
+It can run in collaborative mode (together with trickled) or in
+stand alone mode.
+
+WWW: http://monkey.org/~marius/trickle/
diff --git a/net/trickle/pkg-plist b/net/trickle/pkg-plist
new file mode 100644
index 000000000000..6383d0f7283c
--- /dev/null
+++ b/net/trickle/pkg-plist
@@ -0,0 +1,7 @@
+bin/trickle
+bin/tricklectl
+bin/trickled
+lib/trickle/trickle-overload.so
+%%PORTDOCS%%%%DOCSDIR%%/README
+@dirrm lib/trickle
+%%PORTDOCS%%@dirrm %%DOCSDIR%%