diff options
author | pin <pin@pkgsrc.org> | 2021-01-28 22:18:57 +0000 |
---|---|---|
committer | pin <pin@pkgsrc.org> | 2021-01-28 22:18:57 +0000 |
commit | db6d5d96d414c2f15460fa64baa0187b6c0ca991 (patch) | |
tree | 15b8ff655e46b531c61eb2c0d08d8c8d7ad67851 /wm | |
parent | deb48e9d72e9d43ec55d1cbf468d8c5aeb4eb56e (diff) | |
download | pkgsrc-db6d5d96d414c2f15460fa64baa0187b6c0ca991.tar.gz |
wm/sdorfehs: import package
sdorfehs is a tiling window manager descended from ratpoison, which itself is
modeled after GNU Screen.
sdorfehs divides the screen into one or more frames, each only displaying
one window at a time but can cycle through all available windows (those
which are not being shown in another frame).
Like Screen, sdorfehs primarily uses prefixed/modal key bindings for most
actions.
sdorfehs's command mode is entered with a configurable keystroke
(Ctrl+a by default) which then allows a number of bindings accessible with just
a single keystroke or any other combination.
Special thanks to David H. Gutteridge for the patch and explanations.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/sdorfehs/DESCR | 10 | ||||
-rw-r--r-- | wm/sdorfehs/Makefile | 29 | ||||
-rw-r--r-- | wm/sdorfehs/PLIST | 3 | ||||
-rw-r--r-- | wm/sdorfehs/distinfo | 7 | ||||
-rw-r--r-- | wm/sdorfehs/patches/patch-Makefile | 17 |
5 files changed, 66 insertions, 0 deletions
diff --git a/wm/sdorfehs/DESCR b/wm/sdorfehs/DESCR new file mode 100644 index 00000000000..3b5aa9964cf --- /dev/null +++ b/wm/sdorfehs/DESCR @@ -0,0 +1,10 @@ +sdorfehs is a tiling window manager descended from ratpoison, which itself is +modeled after GNU Screen. +sdorfehs divides the screen into one or more frames, each only displaying +one window at a time but can cycle through all available windows (those +which are not being shown in another frame). +Like Screen, sdorfehs primarily uses prefixed/modal key bindings for most +actions. +sdorfehs's command mode is entered with a configurable keystroke +(Ctrl+a by default) which then allows a number of bindings accessible with just +a single keystroke or any other combination. diff --git a/wm/sdorfehs/Makefile b/wm/sdorfehs/Makefile new file mode 100644 index 00000000000..b3de34f5d73 --- /dev/null +++ b/wm/sdorfehs/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2021/01/28 22:18:57 pin Exp $ + +DISTNAME= sdorfehs-1.1 +CATEGORIES= wm +MASTER_SITES= ${MASTER_SITE_GITHUB:=jcs/} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= pin@NetBSD.org +HOMEPAGE= https://github.com/jcs/sdorfehs/ +COMMENT= Tiling window manager descended from ratpoison +LICENSE= gnu-gpl-v2 + +USE_TOOLS+= pkg-config + +SUBST_CLASSES+= prefix +SUBST_MESSAGE.prefix= Fixing paths. +SUBST_STAGE.prefix= pre-configure +SUBST_FILES.prefix+= Makefile +SUBST_SED.prefix+= -e 's,/usr/local,${PREFIX},g' +SUBST_SED.prefix+= -e 's,/usr/X11R6,${X11BASE},g' +SUBST_SED.prefix+= -e "s,/etc,${PKG_SYSCONFDIR}/,g" + +INSTALLATION_DIRS= bin/ ${PKGMANDIR}/man1/ + +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXft/buildlink3.mk" +.include "../../x11/libXrandr/buildlink3.mk" +.include "../../x11/libXtst/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/wm/sdorfehs/PLIST b/wm/sdorfehs/PLIST new file mode 100644 index 00000000000..077527b8a33 --- /dev/null +++ b/wm/sdorfehs/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2021/01/28 22:18:57 pin Exp $ +bin/sdorfehs +man/man1/sdorfehs.1 diff --git a/wm/sdorfehs/distinfo b/wm/sdorfehs/distinfo new file mode 100644 index 00000000000..4055d47d2b5 --- /dev/null +++ b/wm/sdorfehs/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2021/01/28 22:18:57 pin Exp $ + +SHA1 (sdorfehs-1.1.tar.gz) = e222f0c9f28257c7d6d576a61854e28cb39437c2 +RMD160 (sdorfehs-1.1.tar.gz) = b9606f24633ac224df4e270efe8185df15033d28 +SHA512 (sdorfehs-1.1.tar.gz) = 6b61a28c1da26e01e5e0cb9b6cdd42c48a1fc22679b06abce9bc6d37bd5fcd10a3ce0756d625787756ae5c6fc60e6971dd48a2fefc27de22245f9dbbbd153f0c +Size (sdorfehs-1.1.tar.gz) = 123660 bytes +SHA1 (patch-Makefile) = d8e18bb85595776540647e3477cec6c7c94c4432 diff --git a/wm/sdorfehs/patches/patch-Makefile b/wm/sdorfehs/patches/patch-Makefile new file mode 100644 index 00000000000..f3fca679d2e --- /dev/null +++ b/wm/sdorfehs/patches/patch-Makefile @@ -0,0 +1,17 @@ +$NetBSD: patch-Makefile,v 1.1 2021/01/28 22:18:57 pin Exp $ + +Add support for DESTDIR. + +--- Makefile.orig 2021-01-28 21:40:15.668959679 +0000 ++++ Makefile +@@ -16,8 +16,8 @@ LDFLAGS+= `pkg-config --libs ${PKGLIBS}` + # and this for input-specific debugging + #CFLAGS+= -DINPUT_DEBUG=1 + +-BINDIR= $(PREFIX)/bin +-MANDIR= $(PREFIX)/man/man1 ++BINDIR= ${DESTDIR}$(PREFIX)/bin ++MANDIR= ${DESTDIR}$(PREFIX)/man/man1 + + SRC!= ls *.c + OBJ= ${SRC:.c=.o} |