summaryrefslogtreecommitdiffstats
path: root/sysutils/roottail
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-12-22 00:19:08 +0000
committeredwin <edwin@FreeBSD.org>2004-12-22 00:19:08 +0000
commit4c38807feb62d16b3d087fbdda8ba5acb1ebad96 (patch)
tree8f943dc750aba0637bc4072e6957cc7f200a3831 /sysutils/roottail
parent3c3cda059ec2534fa7a6fe07863daad0d7dc1e4f (diff)
downloadFreeBSD-ports-4c38807feb62d16b3d087fbdda8ba5acb1ebad96.zip
FreeBSD-ports-4c38807feb62d16b3d087fbdda8ba5acb1ebad96.tar.gz
[ patch ] sysutils/roottail: add extra patch
Add an optional patch for root-tail. This patch replaces the standart root-tail code for finding root window with the better one, written by Johannes Jordan and Robin Hogan, which allows root-tail to work with some desktop environments, xfce4 for example. PR: ports/75017 Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
Diffstat (limited to 'sysutils/roottail')
-rw-r--r--sysutils/roottail/Makefile16
-rw-r--r--sysutils/roottail/distinfo2
2 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/roottail/Makefile b/sysutils/roottail/Makefile
index 06d22e4..60508cb 100644
--- a/sysutils/roottail/Makefile
+++ b/sysutils/roottail/Makefile
@@ -7,10 +7,17 @@
PORTNAME= roottail
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.goof.com/pcg/marc/data/
DISTNAME= root-tail-${PORTVERSION}
+.if defined(WITH_EXTRA_PATCH)
+PATCH_SITES= http://bmp-plugins.berlios.de/misc/patches/
+PATCHFILES= roottail-1.2+xfce.diff
+PATCH_DIST_STRIP= -p1
+.endif
+
MAINTAINER= jedgar@FreeBSD.org
COMMENT= Print text directly to X11 root window
@@ -19,4 +26,13 @@ PLIST_FILES= bin/root-tail
USE_IMAKE= yes
MAKE_ARGS= CC="${CC}"
+pre-everything::
+.if defined(WITH_EXTRA_PATCH)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Note: this extra patch is not supported by roottail maintainer."
+ @${ECHO_MSG} "Before reporting any problems you should build roottail without"
+ @${ECHO_MSG} "this option."
+ @${ECHO_MSG}
+.endif
+
.include <bsd.port.mk>
diff --git a/sysutils/roottail/distinfo b/sysutils/roottail/distinfo
index efc61c7..83082b5 100644
--- a/sysutils/roottail/distinfo
+++ b/sysutils/roottail/distinfo
@@ -1,2 +1,4 @@
MD5 (root-tail-1.2.tar.gz) = 5a4b3c4c7ab3bed1f4575e9688aac5de
SIZE (root-tail-1.2.tar.gz) = 20805
+MD5 (roottail-1.2+xfce.diff) = a71d34939024c3e98c68636ad68c5763
+SIZE (roottail-1.2+xfce.diff) = 16326
OpenPOWER on IntegriCloud