aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2006-03-25 14:40:52 +0800
committerlioux <lioux@FreeBSD.org>2006-03-25 14:40:52 +0800
commit18ea6e6c8bdadc18a02e61c8dacbb385151dcca4 (patch)
treec42f9629226e9400f57ee086fd966f0ad5a50e00
parentb9cf223b6f33ee16bd29a8cb150e6c58d0b38610 (diff)
downloadfreebsd-ports-gnome-18ea6e6c8bdadc18a02e61c8dacbb385151dcca4.tar.gz
freebsd-ports-gnome-18ea6e6c8bdadc18a02e61c8dacbb385151dcca4.tar.zst
freebsd-ports-gnome-18ea6e6c8bdadc18a02e61c8dacbb385151dcca4.zip
New port gkremldk version 0.9.7: shows current mldonkey donwload/upload
rates and allows setting them
-rw-r--r--net-p2p/Makefile1
-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
5 files changed, 53 insertions, 0 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index d3afcbf76529..a0db23580a5c 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -33,6 +33,7 @@
SUBDIR += gift-gnutella
SUBDIR += gift-openft
SUBDIR += gkrellm-gift
+ SUBDIR += gkremldk
SUBDIR += gnewtellium
SUBDIR += gnome-btdownload
SUBDIR += gnunet
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