head 1.5; access; symbols pkgsrc-2022Q3:1.4.0.24 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.22 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.20 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.18 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.16 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.14 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.12 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.10 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.8 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.6 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.2 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.4 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.3.0.2 pkgsrc-2019Q3-base:1.3; locks; strict; comment @# @; 1.5 date 2022.12.19.13.01.45; author vins; state dead; branches; next 1.4; commitid WrnDilYuN39Uua6E; 1.4 date 2019.10.31.10.30.22; author fcambus; state Exp; branches; next 1.3; commitid GjoY3dziAnept0JB; 1.3 date 2019.08.28.07.11.23; author fcambus; state Exp; branches; next 1.2; commitid TTtTNe9G9uRIqLAB; 1.2 date 2019.08.19.12.31.23; author fcambus; state Exp; branches; next 1.1; commitid 8X1hWU0gr7gguDzB; 1.1 date 2019.08.16.14.07.27; author fcambus; state Exp; branches; next ; commitid Mm7BLC1rWEup7gzB; desc @@ 1.5 log @wm/coma: package revision. * Drop patch: DESTDIR support can be handled with MAKE_FLAGS. * Do not require pkg-config: define LDFLAGS using BUIDLINK_PREFIX. * Use REPLACE_INTEPRETER in place of a SUBST routine. * Bump PKGREVISION. * Take maintainership. @ text @$NetBSD: patch-Makefile,v 1.4 2019/10/31 10:30:22 fcambus Exp $ Adapt install target for pkgsrc. --- Makefile.orig 2019-08-21 12:39:43.000000000 +0000 +++ Makefile @@@@ -2,6 +2,7 @@@@ CC?=cc COMA=coma +DESTDIR?= PREFIX?=/usr/local INSTALL_DIR=$(PREFIX)/bin MAN_DIR=$(PREFIX)/share/man @@@@ -27,9 +28,11 @@@@ LDFLAGS+=`pkg-config --libs x11 xft` all: $(COMA) install: $(COMA) - install -m 555 $(COMA) $(INSTALL_DIR)/$(COMA) - install -m 555 scripts/coma-* $(INSTALL_DIR) - install -m 644 coma.1 $(MAN_DIR)/man1/coma.1 + mkdir -p $(DESTDIR)$(INSTALL_DIR) + mkdir -p $(DESTDIR)$(MAN_DIR)/man1 + install -m 555 $(COMA) $(DESTDIR)$(INSTALL_DIR)/$(COMA) + install -m 555 scripts/coma-* $(DESTDIR)$(INSTALL_DIR) + install -m 644 coma.1 $(DESTDIR)$(MAN_DIR)/man1/coma.1 $(COMA): $(OBJS) $(CC) $(OBJS) $(LDFLAGS) -o $(COMA) @ 1.4 log @coma: update to 1.1. ChangeLog: - add configurable frame height - fix merge/split with new frame-height - add configurable frame-border - fixes for border + splits - change client swap semantics to move - Allow execution of commands via C-e - allow binding of keysyms to commands - add frame-set-directory - simplify frame_client_move - Add C-colon - always update window titles - add untag command and placeholders for autocomplete - Let coma take the pwd from the shell if present - insert new clients after the current one - Add ability to execute commands on a remote host - make default font bold and let font be configurable - use bsd/string.h for strl* family on broken platforms @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.3 2019/08/28 07:11:23 fcambus Exp $ @ 1.3 log @coma: use MAKE_FLAGS to override MAN_DIR. There is no need to patch MAN_DIR in upstream Makefile. Pointed out by wiz@@, thanks! @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.2 2019/08/19 12:31:23 fcambus Exp $ d5 1 a5 1 --- Makefile.orig 2019-01-17 20:01:53.000000000 +0000 d15 1 a15 1 @@@@ -27,8 +28,10 @@@@ LDFLAGS+=`pkg-config --libs x11 xft` d20 1 d25 1 @ 1.2 log @coma: allow overriding MAN_DIR, and set it to "${PREFIX}/${PKGMANDIR}". Pointed out by leot@@, thanks! @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2019/08/16 14:07:27 fcambus Exp $ d7 1 a7 1 @@@@ -2,9 +2,10 @@@@ d14 1 a14 5 -MAN_DIR=$(PREFIX)/share/man +MAN_DIR?=$(PREFIX)/share/man SRC= coma.c client.c config.c frame.c wm.c OBJS= $(SRC:%.c=%.o) @ 1.1 log @wm/coma: import coma-1.0. Coma is a minimalistic X11 Window Manager. It has 2 framing modes: default, large. Only one can be active at a given time and is specified at startup time: - Default means it will split up your screen into columns just large enough to fit 80 column xterms. - Large means it will calculate the frames based on 161 column xterms (so one can use tmux and split it to get 80 columns in each pane). OK kamil@@ @ text @d1 1 a1 1 $NetBSD$ d15 1 a15 1 +MAN_DIR=$(PREFIX)/man @