summaryrefslogtreecommitdiff
path: root/x11/xrootconsole
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2015-04-20 20:21:32 +0000
committercheusov <cheusov@pkgsrc.org>2015-04-20 20:21:32 +0000
commitd1e395d34e33a64a265c83abf00f57f76819226e (patch)
tree2aa957b7001d297920123bd9e6e79db81e170de8 /x11/xrootconsole
parentb44a31a97167b88d4baf1403809c3bbab6caad40 (diff)
downloadpkgsrc-d1e395d34e33a64a265c83abf00f57f76819226e.tar.gz
xrootconsole is a small utility which displays its input in a transparent
text box on X's root window. It will read from any file listed on the command line or, by default, from stdin. It is most useful when it reads from a FIFO; this allows you to redirect multiple commands to the FIFO and monitor their output.
Diffstat (limited to 'x11/xrootconsole')
-rw-r--r--x11/xrootconsole/DESCR5
-rw-r--r--x11/xrootconsole/Makefile18
-rw-r--r--x11/xrootconsole/PLIST3
-rw-r--r--x11/xrootconsole/TODO1
-rw-r--r--x11/xrootconsole/distinfo6
-rw-r--r--x11/xrootconsole/patches/patch-aa45
6 files changed, 78 insertions, 0 deletions
diff --git a/x11/xrootconsole/DESCR b/x11/xrootconsole/DESCR
new file mode 100644
index 00000000000..fdf47927d40
--- /dev/null
+++ b/x11/xrootconsole/DESCR
@@ -0,0 +1,5 @@
+xrootconsole is a small utility which displays its input in a transparent
+text box on X's root window. It will read from any file listed on the
+command line or, by default, from stdin. It is most useful when it reads
+from a FIFO; this allows you to redirect multiple commands to the FIFO
+and monitor their output.
diff --git a/x11/xrootconsole/Makefile b/x11/xrootconsole/Makefile
new file mode 100644
index 00000000000..7d8d636c2c9
--- /dev/null
+++ b/x11/xrootconsole/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2015/04/20 20:21:32 cheusov Exp $
+
+DISTNAME= xrootconsole-0.6
+PKGREVISION= 2
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xrootconsole/}
+
+MAINTAINER= inittab@unixdev.net
+HOMEPAGE= http://xrootconsole.sourceforge.net/
+COMMENT= Windowless XConsole
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= gmake
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xrootconsole/PLIST b/x11/xrootconsole/PLIST
new file mode 100644
index 00000000000..88ade7893f7
--- /dev/null
+++ b/x11/xrootconsole/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2015/04/20 20:21:32 cheusov Exp $
+bin/xrootconsole
+man/man1/xrootconsole.1
diff --git a/x11/xrootconsole/TODO b/x11/xrootconsole/TODO
new file mode 100644
index 00000000000..a965a70ed4e
--- /dev/null
+++ b/x11/xrootconsole/TODO
@@ -0,0 +1 @@
+Done
diff --git a/x11/xrootconsole/distinfo b/x11/xrootconsole/distinfo
new file mode 100644
index 00000000000..f9e82f1c08d
--- /dev/null
+++ b/x11/xrootconsole/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2015/04/20 20:21:32 cheusov Exp $
+
+SHA1 (xrootconsole-0.6.tar.gz) = 6c4bdbe979ce15d00c2e1efde672a6a99228ceb4
+RMD160 (xrootconsole-0.6.tar.gz) = 3dd6058316fd72f428fbef9fd5385e75c82a9683
+Size (xrootconsole-0.6.tar.gz) = 15951 bytes
+SHA1 (patch-aa) = 50b6b87b2bb29bb3e6087082f5af84ad8cb29437
diff --git a/x11/xrootconsole/patches/patch-aa b/x11/xrootconsole/patches/patch-aa
new file mode 100644
index 00000000000..00b0d747fc1
--- /dev/null
+++ b/x11/xrootconsole/patches/patch-aa
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.1.1.1 2015/04/20 20:21:32 cheusov Exp $
+
+--- Makefile.orig 2004-02-20 21:53:28.000000000 +0000
++++ Makefile
+@@ -34,6 +34,9 @@
+
++PREFIX ?= /usr/local
++X11BASE ?= /usr/X11R7
++
+ EXEC = xrootconsole
+-BINDIR = /usr/local/bin
++BINDIR = $(PREFIX)/bin
+ MANFILE = xrootconsole.1
+-MANDIR = /usr/local/share/man/man1
++MANDIR = $(PREFIX)/man/man1
+
+@@ -46,15 +49,13 @@ VERSION = $(shell tag=$$(echo '$$Name: R
+ CC = gcc
+-CPPFLAGS =
++CPPFLAGS += -I $(X11BASE)/include
++LDFLAGS += -L $(X11BASE)/lib
++LIBS += -lX11 -lutil
+
+ # for production
+-CFLAGS = -O2 -DNDEBUG -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\"" \
+- -I /usr/X11R6/include
+-LDFLAGS = -s
++CFLAGS += -O2 -DNDEBUG -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\""
++LDFLAGS += -s
+
+ # for testing
+-#CFLAGS = -g -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION) (debug build)\"" \
+- -I /usr/X11R6/include
+-#LDFLAGS =
+-
+-LIBS = -L/usr/X11R6/lib -lX11 -lutil
++#CFLAGS += -g -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION) (debug build)\""
++#LDFLAGS +=
+
+@@ -78,3 +79,3 @@ realclean:
+ install: $(EXEC)
+- cp $(EXEC) $(BINDIR)
+- cp $(MANFILE) $(MANDIR)
++ cp $(EXEC) $(DESTDIR)$(BINDIR)
++ cp $(MANFILE) $(DESTDIR)$(MANDIR)