pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/wm/sdorfehs



Module Name:    pkgsrc
Committed By:   pin
Date:           Thu Jan 28 22:18:57 UTC 2021

Added Files:
        pkgsrc/wm/sdorfehs: DESCR Makefile PLIST distinfo
        pkgsrc/wm/sdorfehs/patches: patch-Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/wm/sdorfehs/DESCR pkgsrc/wm/sdorfehs/Makefile \
    pkgsrc/wm/sdorfehs/PLIST pkgsrc/wm/sdorfehs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/wm/sdorfehs/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/wm/sdorfehs/DESCR
diff -u /dev/null pkgsrc/wm/sdorfehs/DESCR:1.1
--- /dev/null   Thu Jan 28 22:18:57 2021
+++ pkgsrc/wm/sdorfehs/DESCR    Thu Jan 28 22:18:57 2021
@@ -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.
Index: pkgsrc/wm/sdorfehs/Makefile
diff -u /dev/null pkgsrc/wm/sdorfehs/Makefile:1.1
--- /dev/null   Thu Jan 28 22:18:57 2021
+++ pkgsrc/wm/sdorfehs/Makefile Thu Jan 28 22:18:57 2021
@@ -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@localhost
+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"
Index: pkgsrc/wm/sdorfehs/PLIST
diff -u /dev/null pkgsrc/wm/sdorfehs/PLIST:1.1
--- /dev/null   Thu Jan 28 22:18:57 2021
+++ pkgsrc/wm/sdorfehs/PLIST    Thu Jan 28 22:18:57 2021
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/01/28 22:18:57 pin Exp $
+bin/sdorfehs
+man/man1/sdorfehs.1
Index: pkgsrc/wm/sdorfehs/distinfo
diff -u /dev/null pkgsrc/wm/sdorfehs/distinfo:1.1
--- /dev/null   Thu Jan 28 22:18:57 2021
+++ pkgsrc/wm/sdorfehs/distinfo Thu Jan 28 22:18:57 2021
@@ -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

Index: pkgsrc/wm/sdorfehs/patches/patch-Makefile
diff -u /dev/null pkgsrc/wm/sdorfehs/patches/patch-Makefile:1.1
--- /dev/null   Thu Jan 28 22:18:57 2021
+++ pkgsrc/wm/sdorfehs/patches/patch-Makefile   Thu Jan 28 22:18:57 2021
@@ -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}



Home | Main Index | Thread Index | Old Index