summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
Diffstat (limited to 'wm')
-rw-r--r--wm/scrotwm/DESCR24
-rw-r--r--wm/scrotwm/Makefile30
-rw-r--r--wm/scrotwm/PLIST8
-rw-r--r--wm/scrotwm/distinfo7
-rw-r--r--wm/scrotwm/patches/patch-aa20
-rw-r--r--wm/scrotwm/patches/patch-ab16
6 files changed, 105 insertions, 0 deletions
diff --git a/wm/scrotwm/DESCR b/wm/scrotwm/DESCR
new file mode 100644
index 00000000000..ffcb8635c74
--- /dev/null
+++ b/wm/scrotwm/DESCR
@@ -0,0 +1,24 @@
+Scrotwm is a small dynamic tiling window manager for X11. It tries
+to stay out of the way so that valuable screen real estate can be
+used for much more important stuff. It has sane defaults and does
+not require one to learn a language to do any configuration. It
+was written by hackers for hackers and it strives to be small,
+compact and fast.
+
+It was largely inspired by xmonad and dwm. Both are fine products
+but suffer from things like: crazy-unportable-language-syndrome,
+silly defaults, asymmetrical window layout, "how hard can it be?"
+and good old NIH. Nevertheless dwm was a phenomenal resource and
+many good ideas and code was borrowed from it. On the other hand
+xmonad has great defaults, key bindings and xinerama support but
+is crippled by not being written in C.
+
+Scrotwm is a beautiful pearl! For it too, was created by grinding
+irritation. Nothing is a bigger waste of time than moving windows
+around until they are the right size-ish or having just about any
+relevant key combination being eaten for some task one never needs.
+The path of agony is too long to quote and in classical OpenBSD
+fashion (put up, or hack up) a brand new window manager was whooped
+up to serve no other purpose than to obey its masters. It was
+written by Marco Peereboom & Ryan Thomas McBride and it is released
+under the ISC license.
diff --git a/wm/scrotwm/Makefile b/wm/scrotwm/Makefile
new file mode 100644
index 00000000000..26e1a006f2a
--- /dev/null
+++ b/wm/scrotwm/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/21 15:15:29 wiz Exp $
+#
+
+DISTNAME= scrotwm-0.9.1
+CATEGORIES= wm
+MASTER_SITES= http://www.peereboom.us/scrotwm/snapshot/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.peereboom.us/scrotwm/html/scrotwm.html
+COMMENT= Small dynamic tiling window manager for X11
+
+BUILDLINK_TRANSFORM+= rm:-Werror
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/scrotwm
+
+post-extract:
+ ${MV} ${WRKSRC}/linux/linux.c ${WRKSRC}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/scrotwm ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/scrotwm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/*.conf ${DESTDIR}${PREFIX}/share/examples/scrotwm
+ ${INSTALL_DATA} ${WRKSRC}/*.sh ${DESTDIR}${PREFIX}/share/examples/scrotwm
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wm/scrotwm/PLIST b/wm/scrotwm/PLIST
new file mode 100644
index 00000000000..c6dee72d5d5
--- /dev/null
+++ b/wm/scrotwm/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/21 15:15:29 wiz Exp $
+bin/scrotwm
+man/man1/scrotwm.1
+share/examples/scrotwm/baraction.sh
+share/examples/scrotwm/initscreen.sh
+share/examples/scrotwm/screenshot.sh
+share/examples/scrotwm/scrotwm.conf
+@dirrm share/examples/scrotwm
diff --git a/wm/scrotwm/distinfo b/wm/scrotwm/distinfo
new file mode 100644
index 00000000000..7afe0a6ecb3
--- /dev/null
+++ b/wm/scrotwm/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/21 15:15:29 wiz Exp $
+
+SHA1 (scrotwm-0.9.1.tgz) = bc01e3be45274a1f439ae5ff910736c403ffbc96
+RMD160 (scrotwm-0.9.1.tgz) = e9d8af1cb077f6f5d9e2f50ffb8efa7177efae05
+Size (scrotwm-0.9.1.tgz) = 31428 bytes
+SHA1 (patch-aa) = 7a2c5ec09c4f8701e3c1e757574f28ee88d42ce4
+SHA1 (patch-ab) = 58309fbcf514bcb3a9acd9b8b5028fb988e6dd8e
diff --git a/wm/scrotwm/patches/patch-aa b/wm/scrotwm/patches/patch-aa
new file mode 100644
index 00000000000..d0c32b7a7d0
--- /dev/null
+++ b/wm/scrotwm/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/02/21 15:15:29 wiz Exp $
+
+--- Makefile.orig 2009-02-18 20:40:10.000000000 +0000
++++ Makefile
+@@ -1,9 +1,9 @@
+ # $scrotwm: Makefile,v 1.8 2009/01/24 17:57:26 mcbride Exp $
+-.include <bsd.xconf.mk>
+
+ SUBDIR= lib
+
+ PROG=scrotwm
++SRCS=scrotwm.c linux.c
+ MAN=scrotwm.1
+
+ CFLAGS+=-Wall -Wno-uninitialized -ggdb3
+@@ -15,4 +15,3 @@ MANDIR= ${X11BASE}/man/cat
+ obj: _xenocara_obj
+
+ .include <bsd.prog.mk>
+-.include <bsd.xorg.mk>
diff --git a/wm/scrotwm/patches/patch-ab b/wm/scrotwm/patches/patch-ab
new file mode 100644
index 00000000000..6f512eb3428
--- /dev/null
+++ b/wm/scrotwm/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/02/21 15:15:29 wiz Exp $
+
+--- lib/Makefile.orig 2009-02-18 20:40:29.000000000 +0000
++++ lib/Makefile
+@@ -1,6 +1,5 @@
+ # $scrotwm: Makefile,v 1.1 2009/01/24 17:57:26 mcbride Exp $
+
+-.include <bsd.xconf.mk>
+
+ LIB= swmhack
+ NOMAN= yes
+@@ -19,4 +18,3 @@ install:
+ ${X11BASE}/lib/swmhack.so
+
+ .include <bsd.lib.mk>
+-.include <bsd.xorg.mk>