pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/sdorfehs wm/sdorfehs: import package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a038ac308bb6
branches:  trunk
changeset: 445772:a038ac308bb6
user:      pin <pin%pkgsrc.org@localhost>
date:      Thu Jan 28 22:18:57 2021 +0000

description:
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:

 wm/sdorfehs/DESCR                  |  10 ++++++++++
 wm/sdorfehs/Makefile               |  29 +++++++++++++++++++++++++++++
 wm/sdorfehs/PLIST                  |   3 +++
 wm/sdorfehs/distinfo               |   7 +++++++
 wm/sdorfehs/patches/patch-Makefile |  17 +++++++++++++++++
 5 files changed, 66 insertions(+), 0 deletions(-)

diffs (86 lines):

diff -r b6868049f96d -r a038ac308bb6 wm/sdorfehs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/sdorfehs/DESCR Thu Jan 28 22:18:57 2021 +0000
@@ -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 -r b6868049f96d -r a038ac308bb6 wm/sdorfehs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/sdorfehs/Makefile      Thu Jan 28 22:18:57 2021 +0000
@@ -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"
diff -r b6868049f96d -r a038ac308bb6 wm/sdorfehs/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/sdorfehs/PLIST Thu Jan 28 22:18:57 2021 +0000
@@ -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 -r b6868049f96d -r a038ac308bb6 wm/sdorfehs/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/sdorfehs/distinfo      Thu Jan 28 22:18:57 2021 +0000
@@ -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 -r b6868049f96d -r a038ac308bb6 wm/sdorfehs/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/sdorfehs/patches/patch-Makefile        Thu Jan 28 22:18:57 2021 +0000
@@ -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