summaryrefslogtreecommitdiff
path: root/net-p2p/gkremldk
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2006-03-25 06:40:52 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2006-03-25 06:40:52 +0000
commit40ae9b0e9bab6efd904ad16b0d41ec52f9bf97de (patch)
tree9e4113d11dee067aa3de921e6427a5e55387c012 /net-p2p/gkremldk
parentUpdate to the 20060323 snapshot of GCC 4.0.4. (diff)
New port gkremldk version 0.9.7: shows current mldonkey donwload/upload
rates and allows setting them
Notes
Notes: svn path=/head/; revision=158093
Diffstat (limited to 'net-p2p/gkremldk')
-rw-r--r--net-p2p/gkremldk/Makefile39
-rw-r--r--net-p2p/gkremldk/distinfo3
-rw-r--r--net-p2p/gkremldk/pkg-descr7
-rw-r--r--net-p2p/gkremldk/pkg-plist3
4 files changed, 52 insertions, 0 deletions
diff --git a/net-p2p/gkremldk/Makefile b/net-p2p/gkremldk/Makefile
new file mode 100644
index 000000000000..112a8fa7bc8b
--- /dev/null
+++ b/net-p2p/gkremldk/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: GKrellM MLDonkey plugin
+# Date created: Sat Mar 25 05:17:51 UTC 2006
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gkremldk
+PORTVERSION= 0.9.7
+CATEGORIES= net-p2p
+MASTER_SITES= http://www.tof2k.com/gkremldk/
+DISTNAME= ${PORTNAME}-src-${PORTVERSION}
+EXTRACT_SUFX= .tbz
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= Shows current mldonkey donwload/upload rates and allows setting them
+
+BUILD_DEPENDS= \
+ pkg-config:${PORTSDIR}/devel/pkgconfig \
+ ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
+RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
+
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+post-patch:
+ @${REINPLACE_CMD} -E \
+ -e 's|^(LFLAGS).*|\1 = ${LDFLAGS} ${PTHREAD_LIBS} -L${X11BASE}/lib|' \
+ -e 's|-lpthread|${PTHREAD_LIBS}|' \
+ -e 's|(-fPIC)|\1 ${CFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include|' \
+ ${WRKSRC}/Makefile.in
+
+do-install:
+ @${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins
+ @${INSTALL_DATA} ${WRKSRC}/gkremldk.so \
+ ${PREFIX}/libexec/gkrellm2/plugins
+
+.include <bsd.port.mk>
diff --git a/net-p2p/gkremldk/distinfo b/net-p2p/gkremldk/distinfo
new file mode 100644
index 000000000000..a35d24af9106
--- /dev/null
+++ b/net-p2p/gkremldk/distinfo
@@ -0,0 +1,3 @@
+MD5 (gkremldk-src-0.9.7.tbz) = d6a7e72c85b0f44574e7e7d94e8b3ed5
+SHA256 (gkremldk-src-0.9.7.tbz) = 24d6e267b75d4fd37168aeb98fc00d04e5ea69c59d9c6ecb300acaa174e54182
+SIZE (gkremldk-src-0.9.7.tbz) = 36424
diff --git a/net-p2p/gkremldk/pkg-descr b/net-p2p/gkremldk/pkg-descr
new file mode 100644
index 000000000000..123550de5ee5
--- /dev/null
+++ b/net-p2p/gkremldk/pkg-descr
@@ -0,0 +1,7 @@
+Gkremldk is a GKrellM plugin showing current mldonkey donwload/upload
+rate and to set the maximum of these.
+
+Author: Christophe Badoit <tof@tof2k.com>
+WWW: http://www.tof2k.com/gkremldk/
+
+-- lioux@FreeBSD.org
diff --git a/net-p2p/gkremldk/pkg-plist b/net-p2p/gkremldk/pkg-plist
new file mode 100644
index 000000000000..4a1eef717735
--- /dev/null
+++ b/net-p2p/gkremldk/pkg-plist
@@ -0,0 +1,3 @@
+libexec/gkrellm2/plugins/gkremldk.so
+@dirrmtry libexec/gkrellm2/plugins
+@dirrmtry libexec/gkrellm2