aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-05-24 20:01:03 +0800
committerkris <kris@FreeBSD.org>2002-05-24 20:01:03 +0800
commit0127aa6efe9d32a3179e52bc629477980968d355 (patch)
tree06447c8c79e360922b4a026c08f92a00cdab7c2b /x11-wm
parent8d95435ad018cb342fe47f7098988a3f1134a837 (diff)
downloadfreebsd-ports-graphics-0127aa6efe9d32a3179e52bc629477980968d355.tar.gz
freebsd-ports-graphics-0127aa6efe9d32a3179e52bc629477980968d355.tar.zst
freebsd-ports-graphics-0127aa6efe9d32a3179e52bc629477980968d355.zip
Add back wmanager, which was prematurely deleted by will. In fact, this
port doesn't even use qt, so remove the bogus dependency on it.
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/Makefile1
-rw-r--r--x11-wm/wmanager/Makefile45
-rw-r--r--x11-wm/wmanager/distinfo1
-rw-r--r--x11-wm/wmanager/files/patch-aa61
-rw-r--r--x11-wm/wmanager/files/patch-ab11
-rw-r--r--x11-wm/wmanager/files/pkg-message.in3
-rw-r--r--x11-wm/wmanager/pkg-comment1
-rw-r--r--x11-wm/wmanager/pkg-descr5
-rw-r--r--x11-wm/wmanager/pkg-message3
-rw-r--r--x11-wm/wmanager/pkg-plist11
10 files changed, 142 insertions, 0 deletions
diff --git a/x11-wm/Makefile b/x11-wm/Makefile
index 168df23b2eb..1aaa186fdf8 100644
--- a/x11-wm/Makefile
+++ b/x11-wm/Makefile
@@ -82,6 +82,7 @@
SUBDIR += windowmaker
SUBDIR += wm2
SUBDIR += wmakerconf
+ SUBDIR += wmanager
SUBDIR += wmg
SUBDIR += wmthemeinstall
SUBDIR += wmx
diff --git a/x11-wm/wmanager/Makefile b/x11-wm/wmanager/Makefile
new file mode 100644
index 00000000000..76b0c021c61
--- /dev/null
+++ b/x11-wm/wmanager/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: wmanager
+# Date created: 19 Nov 1999
+# Whom: Will Andrews <andrews@technologist.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmanager
+PORTVERSION= 0.2
+CATEGORIES= x11-wm
+MASTER_SITES= http://kassandra.techfak.uni-bielefeld.de/mtessmer/wmanager/
+EXTRACT_SUFX= .src.tar.bz2
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk/
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/.wmanagerrc \
+ ${PREFIX}/share/examples/${PORTNAME}/wmanagerrc_sample
+ @${INSTALL_DATA} ${WRKSRC}/.xinitrc \
+ ${PREFIX}/share/examples/${PORTNAME}/xinitrc_sample
+.for file in FAQ HISTORY INSTALL NEWS README TODO
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+ @${ECHO} ""
+ @${ECHO} "Examples of .xinitrc and .wmanagerrc have been installed"
+ @${ECHO} "in ${PREFIX}/share/examples/${PORTNAME} and docs have"
+ @${ECHO} "been installed to ${DOCSDIR}."
+ @${ECHO} ""
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-wm/wmanager/distinfo b/x11-wm/wmanager/distinfo
new file mode 100644
index 00000000000..0f02932f4ca
--- /dev/null
+++ b/x11-wm/wmanager/distinfo
@@ -0,0 +1 @@
+MD5 (wmanager-0.2.src.tar.bz2) = 29b00db8ad366fec9211cac3931cf2a0
diff --git a/x11-wm/wmanager/files/patch-aa b/x11-wm/wmanager/files/patch-aa
new file mode 100644
index 00000000000..29b21dff534
--- /dev/null
+++ b/x11-wm/wmanager/files/patch-aa
@@ -0,0 +1,61 @@
+
+$FreeBSD$
+
+--- Makefile.orig Sun Nov 14 17:29:24 1999
++++ Makefile Tue Aug 14 13:08:36 2001
+@@ -29,17 +29,21 @@
+ SHELL = /bin/sh
+ MAKEFLAGS = --print-directory
+
++# base settings
++bindir = $(PREFIX)/bin
++incdir = ./inc
++srcdir = ./src
++fltkinc = $(X11BASE)/include
++x11lib = $(X11BASE)/lib
+
+ # compiler settings
+-CXX = g++
+-CXXFLAGS = -I$(incdir) -O2 -Wall -pedantic #-DDEBUG=1 -g3
+-
++CXX = g++
++CXXFLAGS+= -I$(fltkinc) -I$(incdir) -Wall -pedantic $(PTHREAD_CFLAGS) #-DDEBUG=1 -g3
+
+ # linker settings
+ LD = g++
+-LDFLAGS = -lfltk -lXext -lX11 -lm
+-LDDIRS = -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib
+-
++LDFLAGS = -lMesaGL -lfltk -lXext -lX11 -lm $(PTHREAD_LIBS)
++LDDIRS = -L$(x11lib) -L/usr/lib -L/usr/local/lib
+
+ # install settings
+ INSTALL = /usr/bin/install
+@@ -50,17 +54,6 @@
+ DOCTOOL = perceps
+ DOCTOOL_FLAGS = -a -b -f -h -m -r
+
+-# base locations
+-prefix = /usr/local
+-exec_prefix = $(prefix)
+-bindir = $(exec_prefix)/bin
+-
+-
+-# include files and sources
+-incdir = ./inc
+-srcdir = ./src
+-
+-
+ # documentational files for developer
+ docdir = ./doc
+ templates = $(docdir)/templates
+@@ -82,8 +75,7 @@
+ # project version
+ VERSION = 0.1.1
+
+-
+-all: wmanager TAGS
++all: wmanager
+
+ wmanager: $(OBJ)
+ $(LD) -o $@ $^ $(LDDIRS) $(LDFLAGS)
diff --git a/x11-wm/wmanager/files/patch-ab b/x11-wm/wmanager/files/patch-ab
new file mode 100644
index 00000000000..8add2b3987e
--- /dev/null
+++ b/x11-wm/wmanager/files/patch-ab
@@ -0,0 +1,11 @@
+--- src/WManager.cc Wed Sep 29 13:23:17 1999
++++ src/WManager.cc.new Fri Nov 19 23:07:25 1999
+@@ -9,6 +9,8 @@
+ #include <fstream> // file streams
+ #include <cstring> // only for 'strtok'
+ #include <pwd.h> // for home directory
++#include <unistd.h>
++#include <sys/types.h>
+
+
+ // PROJECT INCLUDES ////////////////////////////////
diff --git a/x11-wm/wmanager/files/pkg-message.in b/x11-wm/wmanager/files/pkg-message.in
new file mode 100644
index 00000000000..53ee339c45f
--- /dev/null
+++ b/x11-wm/wmanager/files/pkg-message.in
@@ -0,0 +1,3 @@
+Docs have been installed in /usr/X11R6/share/wmanager/.
+You are advised to have a look at the sample .wmanagerrc
+and .xinitrc's available there.
diff --git a/x11-wm/wmanager/pkg-comment b/x11-wm/wmanager/pkg-comment
new file mode 100644
index 00000000000..1e0a5d68334
--- /dev/null
+++ b/x11-wm/wmanager/pkg-comment
@@ -0,0 +1 @@
+X11 window manager selector
diff --git a/x11-wm/wmanager/pkg-descr b/x11-wm/wmanager/pkg-descr
new file mode 100644
index 00000000000..25f130964bc
--- /dev/null
+++ b/x11-wm/wmanager/pkg-descr
@@ -0,0 +1,5 @@
+WManager is a windowmanager manager. Quite a tongue twister, eh?
+It "manages" your windowmanagers by letting you choose from your
+favorites on starting up X.
+
+WWW: http://kassandra.techfak.uni-bielefeld.de/mtessmer/wmanager/
diff --git a/x11-wm/wmanager/pkg-message b/x11-wm/wmanager/pkg-message
new file mode 100644
index 00000000000..53ee339c45f
--- /dev/null
+++ b/x11-wm/wmanager/pkg-message
@@ -0,0 +1,3 @@
+Docs have been installed in /usr/X11R6/share/wmanager/.
+You are advised to have a look at the sample .wmanagerrc
+and .xinitrc's available there.
diff --git a/x11-wm/wmanager/pkg-plist b/x11-wm/wmanager/pkg-plist
new file mode 100644
index 00000000000..431808f2012
--- /dev/null
+++ b/x11-wm/wmanager/pkg-plist
@@ -0,0 +1,11 @@
+bin/wmanager
+%%PORTDOCS%%share/doc/wmanager/FAQ
+%%PORTDOCS%%share/doc/wmanager/HISTORY
+%%PORTDOCS%%share/doc/wmanager/INSTALL
+%%PORTDOCS%%share/doc/wmanager/NEWS
+%%PORTDOCS%%share/doc/wmanager/README
+%%PORTDOCS%%share/doc/wmanager/TODO
+%%PORTDOCS%%share/examples/wmanager/wmanagerrc_sample
+%%PORTDOCS%%share/examples/wmanager/xinitrc_sample
+%%PORTDOCS%%@dirrm share/examples/wmanager
+%%PORTDOCS%%@dirrm share/doc/wmanager