aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/tvtwm
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1994-12-06 07:00:59 +0800
committergpalmer <gpalmer@FreeBSD.org>1994-12-06 07:00:59 +0800
commitc29607f3c22510aa30ef5a472ae8ff5a7b41432c (patch)
tree31c3745c04e77e9c9ab1b7276fbb5ef74e33733e /x11-wm/tvtwm
parentdc8842603cb3751086257eb2d9e7697d02b8ecd7 (diff)
downloadfreebsd-ports-gnome-c29607f3c22510aa30ef5a472ae8ff5a7b41432c.tar.gz
freebsd-ports-gnome-c29607f3c22510aa30ef5a472ae8ff5a7b41432c.tar.zst
freebsd-ports-gnome-c29607f3c22510aa30ef5a472ae8ff5a7b41432c.zip
tvtwm - Tom's Virtual Tab Window Manager
Diffstat (limited to 'x11-wm/tvtwm')
-rw-r--r--x11-wm/tvtwm/Makefile15
-rw-r--r--x11-wm/tvtwm/files/patch-aa19
-rw-r--r--x11-wm/tvtwm/files/patch-ab47
-rw-r--r--x11-wm/tvtwm/files/patch-ac25
-rw-r--r--x11-wm/tvtwm/pkg-comment1
-rw-r--r--x11-wm/tvtwm/pkg-descr7
-rw-r--r--x11-wm/tvtwm/pkg-plist3
7 files changed, 117 insertions, 0 deletions
diff --git a/x11-wm/tvtwm/Makefile b/x11-wm/tvtwm/Makefile
new file mode 100644
index 000000000000..c2338b41c1a9
--- /dev/null
+++ b/x11-wm/tvtwm/Makefile
@@ -0,0 +1,15 @@
+# New ports collection makefile for: tvtwm
+# Version required: ?
+# Date created: 5th December 1994
+# Whom: gpalmer
+#
+# $Id$
+#
+
+DISTNAME= tvtwm
+USE_IMAKE= yes
+INSTALL_MANPAGES= yes
+MASTER_SITES= ftp://ftp.x.org/pub/R6untarred/contrib/programs/
+EXTRACT_SUFX= .tar.gz
+
+.include <bsd.port.mk>
diff --git a/x11-wm/tvtwm/files/patch-aa b/x11-wm/tvtwm/files/patch-aa
new file mode 100644
index 000000000000..c3d33454903c
--- /dev/null
+++ b/x11-wm/tvtwm/files/patch-aa
@@ -0,0 +1,19 @@
+*** gram.y.orig Mon Dec 5 07:35:28 1994
+--- gram.y Mon Dec 5 07:36:42 1994
+***************
+*** 79,85 ****
+ extern int do_single_keyword(), do_string_keyword(), do_number_keyword();
+ extern name_list **do_colorlist_keyword();
+ extern int do_color_keyword(), do_string_savecolor();
+! extern int yylineno;
+ %}
+
+ %union
+--- 79,85 ----
+ extern int do_single_keyword(), do_string_keyword(), do_number_keyword();
+ extern name_list **do_colorlist_keyword();
+ extern int do_color_keyword(), do_string_savecolor();
+! int yylineno;
+ %}
+
+ %union
diff --git a/x11-wm/tvtwm/files/patch-ab b/x11-wm/tvtwm/files/patch-ab
new file mode 100644
index 000000000000..ce4b522b7d6c
--- /dev/null
+++ b/x11-wm/tvtwm/files/patch-ab
@@ -0,0 +1,47 @@
+*** lex.l.orig Wed Mar 10 20:57:51 1993
+--- lex.l Mon Dec 5 08:06:40 1994
+***************
+*** 43,48 ****
+--- 43,61 ----
+
+ extern int ParseError;
+
++ #undef YY_INPUT
++ #define YY_INPUT(buf,result,max_size) \
++ { \
++ int res = (*twmInputFunc)(); \
++ if (res == NULL) \
++ result = YY_NULL; \
++ else \
++ { \
++ buf[0] = res; \
++ result = 1; \
++ } \
++ }
++
+ %}
+
+ string \"([^"]|\\.)*\"
+***************
+*** 98,107 ****
+ #endif
+
+ #undef unput
+! #undef input
+ #undef output
+ #undef feof
+ #define unput(c) twmUnput(c)
+! #define input() (*twmInputFunc)()
+ #define output(c) TwmOutput(c)
+ #define feof() (1)
+--- 111,120 ----
+ #endif
+
+ #undef unput
+! /*#undef input*/
+ #undef output
+ #undef feof
+ #define unput(c) twmUnput(c)
+! /*#define input() (*twmInputFunc)()*/
+ #define output(c) TwmOutput(c)
+ #define feof() (1)
diff --git a/x11-wm/tvtwm/files/patch-ac b/x11-wm/tvtwm/files/patch-ac
new file mode 100644
index 000000000000..3122091620e4
--- /dev/null
+++ b/x11-wm/tvtwm/files/patch-ac
@@ -0,0 +1,25 @@
+*** Imakefile.orig Mon Dec 5 14:47:52 1994
+--- Imakefile Mon Dec 5 14:49:04 1994
+***************
+*** 106,115 ****
+ XCOMM ln $(BINDIR)/tvtwm $(BINDIR)/twm
+
+ #if (ProjectX < 5)
+! InstallNonExec(system.twmrc,$(TWMDIR))
+ /* InstallProgram(ssetroot,$(BINDIR)/xsetroot) */
+ #else
+! InstallNonExecFile(system.twmrc,$(TWMDIR))
+ /* InstallNamedProg(ssetroot,xsetroot,$(BINDIR)) */
+ #endif
+
+--- 106,115 ----
+ XCOMM ln $(BINDIR)/tvtwm $(BINDIR)/twm
+
+ #if (ProjectX < 5)
+! /* InstallNonExec(system.twmrc,$(TWMDIR))*/
+ /* InstallProgram(ssetroot,$(BINDIR)/xsetroot) */
+ #else
+! /* InstallNonExecFile(system.twmrc,$(TWMDIR)) */
+ /* InstallNamedProg(ssetroot,xsetroot,$(BINDIR)) */
+ #endif
+
diff --git a/x11-wm/tvtwm/pkg-comment b/x11-wm/tvtwm/pkg-comment
new file mode 100644
index 000000000000..bcd8edc62fb8
--- /dev/null
+++ b/x11-wm/tvtwm/pkg-comment
@@ -0,0 +1 @@
+tvtwm - a virtual desktop twm
diff --git a/x11-wm/tvtwm/pkg-descr b/x11-wm/tvtwm/pkg-descr
new file mode 100644
index 000000000000..2b0434cc9fb1
--- /dev/null
+++ b/x11-wm/tvtwm/pkg-descr
@@ -0,0 +1,7 @@
+tvtwm is a version of twm which incorporates virtual desktops, similar
+to vtwm and swm. It is nearly identical to twm until you specify a
+virtual desktop size in your .[tv]twmrc file, which is when you start
+getting the benefits of this window manager.
+
+Gary Palmer
+gpalmer@FreeBSD.org
diff --git a/x11-wm/tvtwm/pkg-plist b/x11-wm/tvtwm/pkg-plist
new file mode 100644
index 000000000000..7a3549f52707
--- /dev/null
+++ b/x11-wm/tvtwm/pkg-plist
@@ -0,0 +1,3 @@
+@cwd /usr/X11R6
+bin/tvtwm
+man/man1/tvtwm.1.gz