pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/coma wm/coma: import coma-1.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/776f874540cc
branches:  trunk
changeset: 399776:776f874540cc
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Fri Aug 16 14:07:27 2019 +0000

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

diffstat:

 wm/coma/DESCR                  |  10 ++++++++++
 wm/coma/Makefile               |  16 ++++++++++++++++
 wm/coma/PLIST                  |   3 +++
 wm/coma/distinfo               |   7 +++++++
 wm/coma/patches/patch-Makefile |  31 +++++++++++++++++++++++++++++++
 5 files changed, 67 insertions(+), 0 deletions(-)

diffs (87 lines):

diff -r b29c2d71bb51 -r 776f874540cc wm/coma/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/coma/DESCR     Fri Aug 16 14:07:27 2019 +0000
@@ -0,0 +1,10 @@
+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).
diff -r b29c2d71bb51 -r 776f874540cc wm/coma/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/coma/Makefile  Fri Aug 16 14:07:27 2019 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2019/08/16 14:07:27 fcambus Exp $
+
+DISTNAME=      coma-1.0
+CATEGORIES=    wm
+MASTER_SITES=  https://coma.one/releases/
+
+MAINTAINER=    fcambus%NetBSD.org@localhost
+HOMEPAGE=      https://coma.one/releases/
+COMMENT=       Keyboard driven tiling window manager
+LICENSE=       isc
+
+USE_LANGUAGES= c99
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b29c2d71bb51 -r 776f874540cc wm/coma/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/coma/PLIST     Fri Aug 16 14:07:27 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/16 14:07:27 fcambus Exp $
+bin/coma
+man/man1/coma.1
diff -r b29c2d71bb51 -r 776f874540cc wm/coma/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/coma/distinfo  Fri Aug 16 14:07:27 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/08/16 14:07:27 fcambus Exp $
+
+SHA1 (coma-1.0.tar.gz) = e830786675e4f8542337363f8835e195e8f58593
+RMD160 (coma-1.0.tar.gz) = 672f1202d92b0ba324f97d28c5c0185d59c1f106
+SHA512 (coma-1.0.tar.gz) = 3df8fd17d269b3888fd931b5126f8e63c9aac63451be14fa8a20be09e945056cd7a45b062a6810a9bba0146fbd4b81791e8c0d9bbad1c18f26d1d3b222251e52
+Size (coma-1.0.tar.gz) = 13487 bytes
+SHA1 (patch-Makefile) = 939c2ee550abccc39967fb59fdff4a524c7cd30a
diff -r b29c2d71bb51 -r 776f874540cc wm/coma/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/coma/patches/patch-Makefile    Fri Aug 16 14:07:27 2019 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-Makefile,v 1.1 2019/08/16 14:07:27 fcambus Exp $
+
+Adapt install target for pkgsrc.
+
+--- Makefile.orig      2019-01-17 20:01:53.000000000 +0000
++++ Makefile
+@@ -2,9 +2,10 @@
+ 
+ CC?=cc
+ COMA=coma
++DESTDIR?=
+ PREFIX?=/usr/local
+ INSTALL_DIR=$(PREFIX)/bin
+-MAN_DIR=$(PREFIX)/share/man
++MAN_DIR=$(PREFIX)/man
+ 
+ SRC=  coma.c client.c config.c frame.c wm.c
+ OBJS= $(SRC:%.c=%.o)
+@@ -27,8 +28,10 @@ LDFLAGS+=`pkg-config --libs x11 xft`
+ all: $(COMA)
+ 
+ install: $(COMA)
+-      install -m 555 $(COMA) $(INSTALL_DIR)/$(COMA)
+-      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 644 coma.1 $(DESTDIR)$(MAN_DIR)/man1/coma.1
+ 
+ $(COMA): $(OBJS)
+       $(CC) $(OBJS) $(LDFLAGS) -o $(COMA)



Home | Main Index | Thread Index | Old Index