1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

WManager is a windowmanager manager.

It "manages" your windowmanagers by letting you choose from your
favorites on starting up X.

PR:		15133
Submitted by:	Will Andrews <andrews@technologist.com>
This commit is contained in:
Chris Piazza 1999-12-06 00:50:06 +00:00
parent dea2ba7b24
commit 6cd6aadb3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23612
9 changed files with 164 additions and 0 deletions

46
x11-wm/wmanager/Makefile Normal file
View File

@ -0,0 +1,46 @@
# New ports collection makefile for: wmanager
# Version required: 0.2
# Date created: 19 Nov 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
DISTNAME= wmanager-0.2
CATEGORIES= x11-wm
MASTER_SITES= http://heuss.techfak.uni-bielefeld.de/www/mtessmer/wmanager/
EXTRACT_SUFX= .src.tar.bz2
MAINTAINER= andrews@technologist.com
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk/
USE_QT= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
MAKE_ENV= prefix=${PREFIX}
WRKSRC= ${WRKDIR}/wmanager
do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/wmanager
@${INSTALL_DATA} ${WRKSRC}/.wmanagerrc ${PREFIX}/share/wmanager/wmanagerrc_sample
@${INSTALL_DATA} ${WRKSRC}/.xinitrc ${PREFIX}/share/wmanager/xinitrc_sample
@${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/wmanager/
@${INSTALL_DATA} ${WRKSRC}/HISTORY ${PREFIX}/share/wmanager/
@${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/wmanager/
@${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/wmanager/
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/wmanager/
@${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/wmanager/
@${ECHO}
@${ECHO} "Docs have been installed in ${PREFIX}/share/wmanager/."
@${ECHO} "You are advised to have a look at the sample .wmanagerrc"
@${ECHO} "and .xinitrc's available there.
@${ECHO}
.endif
@${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${PREFIX}/bin
.include <bsd.port.mk>

1
x11-wm/wmanager/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (wmanager-0.2.src.tar.bz2) = 29b00db8ad366fec9211cac3931cf2a0

View File

@ -0,0 +1,84 @@
--- Makefile.orig Sun Nov 14 07:29:24 1999
+++ Makefile Sun Dec 5 16:37:05 1999
@@ -23,49 +23,38 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-
# make settings
SHELL = /bin/sh
MAKEFLAGS = --print-directory
+# base settings
+bindir = $(prefix)/bin
+incdir = ./inc
+srcdir = ./src
+fltkinc = $(prefix)/include
+x11lib = $(prefix)/lib
# compiler settings
-CXX = g++
-CXXFLAGS = -I$(incdir) -O2 -Wall -pedantic #-DDEBUG=1 -g3
-
+CXX = g++
+CXXFLAGS= -I$(fltkinc) -I$(incdir) -O2 -Wall -pedantic #-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
+LDDIRS = -L$(x11lib) -L/usr/lib -L/usr/local/lib
# install settings
INSTALL = /usr/bin/install
INSTALL_FLAGS = --strip
-
# documentation tool
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
-
# search paths
vpath %.H $(incdir)
vpath %.cc $(srcdir)
@@ -78,12 +67,10 @@
.wmanagerrc .xinitrc
OBJ = $(patsubst %.cc,%.o,$(SRC))
-
# project version
VERSION = 0.1.1
-
-all: wmanager TAGS
+all: wmanager
wmanager: $(OBJ)
$(LD) -o $@ $^ $(LDDIRS) $(LDFLAGS)
@@ -110,7 +97,6 @@
@-echo -e '\nwmanager - X11 window manager selector'
@-echo 'v$(VERSION) 1999/09/26 by M. Tessmer'
@-echo 'Look at README for more information\n'
-
# phony targets
.PHONY: all clean distclean TAGS version doc

View File

@ -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 ////////////////////////////////

View File

@ -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.

View File

@ -0,0 +1 @@
X11 window manager selector

View File

@ -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://heuss.techfak.uni-bielefeld.de/www/mtessmer/wmanager/

View File

@ -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.

10
x11-wm/wmanager/pkg-plist Normal file
View File

@ -0,0 +1,10 @@
bin/wmanager
share/wmanager/wmanagerrc_sample
share/wmanager/xinitrc_sample
share/wmanager/FAQ
share/wmanager/HISTORY
share/wmanager/INSTALL
share/wmanager/NEWS
share/wmanager/README
share/wmanager/TODO
@dirrm share/wmanager