diff options
author | pav <pav@FreeBSD.org> | 2004-05-04 23:09:08 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-04 23:09:08 +0000 |
commit | 36e00580a3452a70b817af0d9b4f1bed45de4791 (patch) | |
tree | 0e00bdc50798cff7ab260000f55fafc8cf134098 /net-p2p/gkrellm-gift | |
parent | 0143b4a45f93413e901afa727bbd326613e50bf8 (diff) | |
download | FreeBSD-ports-36e00580a3452a70b817af0d9b4f1bed45de4791.zip FreeBSD-ports-36e00580a3452a70b817af0d9b4f1bed45de4791.tar.gz |
Add gkrellm-gift, a GKrellM plugin that monitors your active giFT transfers
and their progress. Each transfer is displayed in a panel showing the filename
and the percentage of transmitted bytes.
PR: ports/66204
Submitted by: Tobias Roth <ports@fsck.ch>
Diffstat (limited to 'net-p2p/gkrellm-gift')
-rw-r--r-- | net-p2p/gkrellm-gift/Makefile | 30 | ||||
-rw-r--r-- | net-p2p/gkrellm-gift/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/gkrellm-gift/files/patch-configure | 27 | ||||
-rw-r--r-- | net-p2p/gkrellm-gift/files/patch-io.c | 10 | ||||
-rw-r--r-- | net-p2p/gkrellm-gift/pkg-descr | 7 | ||||
-rw-r--r-- | net-p2p/gkrellm-gift/pkg-plist | 2 |
6 files changed, 78 insertions, 0 deletions
diff --git a/net-p2p/gkrellm-gift/Makefile b/net-p2p/gkrellm-gift/Makefile new file mode 100644 index 0000000..6c6e523 --- /dev/null +++ b/net-p2p/gkrellm-gift/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: gkrellm-gift +# Date created: Mon May 3 08:48:47 CEST 2004 +# Whom: Tobias Roth <ports@fsck.ch> +# +# $FreeBSD$ +# + +PORTNAME= gift +PORTVERSION= 0.2.2 +CATEGORIES= net +MASTER_SITES= ftp://ftp.code-monkey.de/pub/gkrellm-gift/ \ + http://depot.fsck.ch/mirror/distfiles/ +PKGNAMEPREFIX= gkrellm- +DISTNAME= ${PKGNAMEPREFIX}giFT-${PORTVERSION} + +MAINTAINER= ports@fsck.ch +COMMENT= GKrellM2 plugin that monitors active giFT transfers + +LIB_DEPENDS= gift.0:${PORTSDIR}/net/gift +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 +BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2 + +USE_LIBTOOL= yes +USE_GMAKE= yes +USE_X_PREFIX= yes + +post-install: + ${STRIP_CMD} ${PREFIX}/libexec/gkrellm2/plugins/${PORTNAME}.so + +.include <bsd.port.mk> diff --git a/net-p2p/gkrellm-gift/distinfo b/net-p2p/gkrellm-gift/distinfo new file mode 100644 index 0000000..5611286 --- /dev/null +++ b/net-p2p/gkrellm-gift/distinfo @@ -0,0 +1,2 @@ +MD5 (gkrellm-giFT-0.2.2.tar.gz) = 1fa54dbd1a7533637288495eb2c5b887 +SIZE (gkrellm-giFT-0.2.2.tar.gz) = 300510 diff --git a/net-p2p/gkrellm-gift/files/patch-configure b/net-p2p/gkrellm-gift/files/patch-configure new file mode 100644 index 0000000..4273108 --- /dev/null +++ b/net-p2p/gkrellm-gift/files/patch-configure @@ -0,0 +1,27 @@ +--- configure.orig Mon May 3 08:53:37 2004 ++++ configure Mon May 3 08:56:01 2004 +@@ -18994,10 +18994,11 @@ + echo "${ECHO_T}no" >&6 + fi + +- +-cat >>confdefs.h <<\_ACEOF +-#define GTK_DISABLE_DEPRECATED 1 +-_ACEOF ++# restore gtk 2.4 compatibility ++# author promised to fix this in the next version ++#cat >>confdefs.h <<\_ACEOF ++##define GTK_DISABLE_DEPRECATED 1 ++#_ACEOF + + + if test x$prefix = xNONE; then +@@ -19005,7 +19006,7 @@ + + fi + +-plugindir=${prefix}/lib/gkrellm2/plugins ++plugindir=${prefix}/libexec/gkrellm2/plugins + + + ac_config_files="$ac_config_files Makefile pixmaps/Makefile src/Makefile" diff --git a/net-p2p/gkrellm-gift/files/patch-io.c b/net-p2p/gkrellm-gift/files/patch-io.c new file mode 100644 index 0000000..19f28c4 --- /dev/null +++ b/net-p2p/gkrellm-gift/files/patch-io.c @@ -0,0 +1,10 @@ +--- src/io.c.orig Sat Dec 20 10:42:39 2003 ++++ src/io.c Wed May 5 00:58:19 2004 +@@ -16,6 +16,7 @@ + * + */ + ++#include <sys/types.h> + #include <sys/socket.h> + #include <arpa/inet.h> + #include <netdb.h> diff --git a/net-p2p/gkrellm-gift/pkg-descr b/net-p2p/gkrellm-gift/pkg-descr new file mode 100644 index 0000000..a5308e0 --- /dev/null +++ b/net-p2p/gkrellm-gift/pkg-descr @@ -0,0 +1,7 @@ +[from the website] +GKrellM giFT monitors your active giFT transfers and their progress. +Each transfer is displayed in a panel showing the filename and the +percentage of transmitted bytes. +There's also a chart showing the current speed of the transfers. + +WWW: http://www.code-monkey.de/index.php?gkrellm-gift diff --git a/net-p2p/gkrellm-gift/pkg-plist b/net-p2p/gkrellm-gift/pkg-plist new file mode 100644 index 0000000..a5ccbea --- /dev/null +++ b/net-p2p/gkrellm-gift/pkg-plist @@ -0,0 +1,2 @@ +libexec/gkrellm2/plugins/gift.so +libexec/gkrellm2/plugins/gift.la |