From aab8fd89d9d7dbd1b9a927bd320ff98602fd6de7 Mon Sep 17 00:00:00 2001 From: agc Date: Sun, 15 Apr 2001 20:35:57 +0000 Subject: Initial import of the pwm window manager into the packages collection. This package was provided in PR 12524 by salvage@plethora.net (T. M. Pederson). "PWM is a rather lightweight window manager. It has the unique feature that multiple client windows can be attached to the same frame. This feature helps keep windows, especially the numerous xterms, organized. Being a lightweight window manager with emphasis on usability, PWM does not have all the features that one might expect from a window manager. Those features are simply unnecessary. PWM does not provide pixmapped themes or other bloated eye candies but has a clean and simple look inspired by BeOS and Motif. There are no icons and frames cannot be iconified, only "shaded". Only one pointer focus mode is supported: sloppy. PWM does not even have titlebar buttons and may not be the easiest window manager to get into; most good things are not. PWM has workspaces, menus and Window Maker dockapp support. It has pretty good keyboard support and almost all of the functionality is configurable." --- wm/pwm/patches/patch-aa | 31 +++++++++++++++++++++++++++++++ wm/pwm/patches/patch-ab | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 wm/pwm/patches/patch-aa create mode 100644 wm/pwm/patches/patch-ab (limited to 'wm/pwm/patches') diff --git a/wm/pwm/patches/patch-aa b/wm/pwm/patches/patch-aa new file mode 100644 index 00000000000..c5a95c4b14c --- /dev/null +++ b/wm/pwm/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/04/15 20:35:57 agc Exp $ + +--- system.mk.orig Sat Jul 1 07:37:50 2000 ++++ system.mk Thu Apr 5 09:25:26 2001 +@@ -7,7 +7,7 @@ + ## Installation directory prefix + ## + +-PREFIX=/usr/local ++#PREFIX=/usr/local + + #EXTRA_INCLUDES = -I$(PREFIX)/include + #EXTRA_LIBS = -L$(PREFIX)/lib +@@ -17,7 +17,7 @@ + ## X libraries, includes and options + ## + +-X11_PREFIX=/usr/X11R6 ++X11_PREFIX=${X11BASE} + + # SunOS/Solaris + #X11_PREFIX=/usr/openwin +@@ -58,7 +58,7 @@ + -Wparentheses -pedantic-errors + + CFLAGS=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) +-LDFLAGS=-g $(LIBS) $(EXTRA_LIBS) ++LDFLAGS+=$(LIBS) + + + ## diff --git a/wm/pwm/patches/patch-ab b/wm/pwm/patches/patch-ab new file mode 100644 index 00000000000..c2f59272c44 --- /dev/null +++ b/wm/pwm/patches/patch-ab @@ -0,0 +1,46 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/04/15 20:35:57 agc Exp $ + +--- Makefile.orig Sat Jul 1 10:48:50 2000 ++++ Makefile Sun Apr 1 16:23:07 2001 +@@ -12,7 +12,7 @@ + INCLUDES += -I./libtu/include $(X11_INCLUDES) + DEFINES += -DPREFIX=\"$(PREFIX)\" + CFLAGS += $(XOPEN_SOURCE) +-TO_REALCLEAN += pwm.1x ++TO_REALCLEAN += pwm.1 + + OBJS= main.o draw.o font.o frame.o event.o clientwin.o thing.o \ + property.o pointer.o key.o moveres.o cursor.o function.o \ +@@ -23,7 +23,7 @@ + BINDIR=$(PREFIX)/bin + ETCDIR=$(PREFIX)/etc + MANDIR=$(PREFIX)/man/man1 +-DOCDIR=$(PREFIX)/doc ++DOCDIR=$(PREFIX)/share/doc + + TARGETS=pwm + +@@ -33,11 +33,11 @@ + + ###################################### + +-pwm: $(OBJS) pwm.1x ++pwm: $(OBJS) pwm.1 + $(CC) $(OBJS) $(LDFLAGS) -o $@ + +-pwm.1x: pwm.1x.in +- sed 's#PREFIX#$(PREFIX)#g' pwm.1x.in > pwm.1x ++pwm.1: pwm.1x.in ++ sed 's#PREFIX#$(PREFIX)#g' pwm.1x.in > pwm.1 + + _install: + $(INSTALL) -d $(BINDIR) +@@ -45,7 +45,7 @@ + $(STRIP) $(BINDIR)/pwm + + $(INSTALL) -d $(MANDIR) +- $(INSTALL) -m $(DATA_MODE) pwm.1x $(MANDIR) ++ $(INSTALL) -m $(DATA_MODE) pwm.1 $(MANDIR) + + $(INSTALL) -d $(DOCDIR) + $(INSTALL) -d $(DOCDIR)/pwm -- cgit v1.2.3