head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.12 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.10 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.8 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.6 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.4 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.2 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.3.0.6 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.4 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.2 pkgsrc-2024Q1-base:1.3 pkgsrc-2021Q3:1.1.0.6 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.4 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.2 pkgsrc-2021Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2024.10.31.10.50.55; author pin; state Exp; branches; next 1.3; commitid Ft7fn4KQRHvtRNvF; 1.3 date 2024.03.10.21.02.21; author vins; state Exp; branches; next 1.2; commitid TE1Zj1GwqaJnNE1F; 1.2 date 2021.11.17.11.24.05; author pin; state dead; branches; next 1.1; commitid AoRopFmYCvu6J8hD; 1.1 date 2021.01.28.22.18.57; author pin; state Exp; branches; next ; commitid Oo8nVLH8ZaIJLxFC; desc @@ 1.4 log @wm/sdorfehs: update to 1.6 No release notes provided. @ text @$NetBSD$ * Honour pkgsrc compiler/linker flags. * Do not require pkg-config. * Provide a pkgsrc-compliant install target. --- Makefile.orig 2024-10-31 10:21:15.297220936 +0000 +++ Makefile @@@@ -4,14 +4,11 @@@@ VERSION!= [ -d .git ] && \ echo "git-`git rev-list --abbrev-commit --tags --max-count=1`" || \ echo "${VERSION}" -CC?= cc -PREFIX?= /usr/local -PKGLIBS= x11 xft xrandr xtst xres freetype2 -CFLAGS+= -O2 -Wall \ - -Wunused -Wmissing-prototypes -Wstrict-prototypes \ - `pkg-config --cflags ${PKGLIBS}` \ - -DVERSION=\"${VERSION}\" -LDFLAGS+= `pkg-config --libs ${PKGLIBS}` +CC?= @@CC@@ +PREFIX?= @@PREFIX@@ +LIBS+= -lX11 -lXft -lXrandr -lXtst -lXRes -lfreetype +CFLAGS+= -Wall -Wunused -Wmissing-prototypes -Wstrict-prototypes \ + -DVERSION=\"${VERSION}\" # uncomment to enable debugging #CFLAGS+= -g -DDEBUG=1 @@@@ -20,7 +17,7 @@@@ LDFLAGS+= `pkg-config --libs ${PKGLIBS}` #CFLAGS+= -DSENDCMD_DEBUG=1 BINDIR= ${DESTDIR}$(PREFIX)/bin -MANDIR?= ${DESTDIR}$(PREFIX)/man/man1 +MANDIR?= ${DESTDIR}$(PREFIX)/@@PKGMANDIR@@/man1 SRC!= ls *.c OBJ= ${SRC:.c=.o} @@@@ -31,12 +28,13 @@@@ MAN= sdorfehs.1 all: sdorfehs sdorfehs: $(OBJ) - $(CC) -o $@@ $(OBJ) $(LDFLAGS) + $(CC) -o $@@ $(OBJ) $(LDFLAGS) $(LIBS) install: all - mkdir -p $(BINDIR) $(MANDIR) - install -s $(BIN) $(BINDIR) - install -m 644 $(MAN) $(MANDIR) + $(BSD_INSTALL_PROGRAM_DIR) $(BINDIR) + $(BSD_INSTALL_PROGRAM) $(BIN) $(BINDIR) + $(BSD_INSTALL_MAN_DIR) $(MANDIR) + $(BSD_INSTALL_MAN) $(MAN) $(MANDIR) regress: scan-build $(MAKE) @ 1.3 log @wm/sdorfehs: fix build on SunOS Bump revision. @ text @d7 1 a7 1 --- Makefile.orig 2023-01-27 20:35:24.000000000 +0000 d15 1 a15 1 -PKGLIBS= x11 xft xrandr xtst xres d19 2 d23 1 d25 1 a25 3 -DVERSION=\"${VERSION}\" -LDFLAGS+= `pkg-config --libs ${PKGLIBS}` +LIBS+= -lX11 -lXft -lXrandr -lXtst -lXRes d33 2 a34 2 -MANDIR= ${DESTDIR}$(PREFIX)/man/man1 +MANDIR= ${DESTDIR}$(PREFIX)/@@PKGMANDIR@@/man1 @ 1.2 log @wm/sdorfehs: remove unneeded patch @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2021/01/28 22:18:57 pin Exp $ d3 3 a5 1 Add support for DESTDIR. d7 1 a7 1 --- Makefile.orig 2021-01-28 21:40:15.668959679 +0000 d9 25 a33 8 @@@@ -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 d37 18 @ 1.1 log @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. @ text @d1 1 a1 1 $NetBSD$ @