diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-12-06 00:50:06 +0000 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-12-06 00:50:06 +0000 |
commit | 9d0c6d1082331e41a80a99402032d2ed32dd3e8f (patch) | |
tree | 4db2d9a984000bed3a94806c8945b9d77413bd49 | |
parent | 411035957bc3c0325d2b3869fe259beb0ef3c6a5 (diff) | |
download | FreeBSD-ports-9d0c6d1082331e41a80a99402032d2ed32dd3e8f.zip FreeBSD-ports-9d0c6d1082331e41a80a99402032d2ed32dd3e8f.tar.gz |
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>
-rw-r--r-- | x11-wm/wmanager/Makefile | 46 | ||||
-rw-r--r-- | x11-wm/wmanager/distinfo | 1 | ||||
-rw-r--r-- | x11-wm/wmanager/files/patch-aa | 84 | ||||
-rw-r--r-- | x11-wm/wmanager/files/patch-ab | 11 | ||||
-rw-r--r-- | x11-wm/wmanager/files/pkg-message.in | 3 | ||||
-rw-r--r-- | x11-wm/wmanager/pkg-comment | 1 | ||||
-rw-r--r-- | x11-wm/wmanager/pkg-descr | 5 | ||||
-rw-r--r-- | x11-wm/wmanager/pkg-message | 3 | ||||
-rw-r--r-- | x11-wm/wmanager/pkg-plist | 10 |
9 files changed, 164 insertions, 0 deletions
diff --git a/x11-wm/wmanager/Makefile b/x11-wm/wmanager/Makefile new file mode 100644 index 0000000..34676eb --- /dev/null +++ b/x11-wm/wmanager/Makefile @@ -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> diff --git a/x11-wm/wmanager/distinfo b/x11-wm/wmanager/distinfo new file mode 100644 index 0000000..0f02932 --- /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 0000000..511e79d --- /dev/null +++ b/x11-wm/wmanager/files/patch-aa @@ -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 diff --git a/x11-wm/wmanager/files/patch-ab b/x11-wm/wmanager/files/patch-ab new file mode 100644 index 0000000..8add2b3 --- /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 0000000..53ee339 --- /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 0000000..1e0a5d6 --- /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 0000000..3ea6704 --- /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://heuss.techfak.uni-bielefeld.de/www/mtessmer/wmanager/ diff --git a/x11-wm/wmanager/pkg-message b/x11-wm/wmanager/pkg-message new file mode 100644 index 0000000..53ee339 --- /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 0000000..ad086ee --- /dev/null +++ b/x11-wm/wmanager/pkg-plist @@ -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 |