aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-12-20 21:17:13 +0800
committerpawel <pawel@FreeBSD.org>2014-12-20 21:17:13 +0800
commit363d3cc21798223004206f9797b218f2cc06cf37 (patch)
treeb58a78487ac949a313edcb0d57f7067910557815 /x11
parent980b2cfbf5e63526b015892b64d066b7d8eea931 (diff)
downloadfreebsd-ports-gnome-363d3cc21798223004206f9797b218f2cc06cf37.tar.gz
freebsd-ports-gnome-363d3cc21798223004206f9797b218f2cc06cf37.tar.zst
freebsd-ports-gnome-363d3cc21798223004206f9797b218f2cc06cf37.zip
sxhkd is a simple X hotkey daemon with a powerful and compact
configuration syntax. WWW: https://github.com/baskerville/sxhkd PR: 196128 Submitted by: Anton Tornqvist <antont@inbox.lv>
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/sxhkd/Makefile22
-rw-r--r--x11/sxhkd/distinfo2
-rw-r--r--x11/sxhkd/files/patch-Makefile11
-rw-r--r--x11/sxhkd/pkg-descr4
5 files changed, 40 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 22bdefda6948..6084556c4f06 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -268,6 +268,7 @@
SUBDIR += sterm
SUBDIR += stjerm
SUBDIR += swarp
+ SUBDIR += sxhkd
SUBDIR += sxpc
SUBDIR += tabbed
SUBDIR += temperature.app
diff --git a/x11/sxhkd/Makefile b/x11/sxhkd/Makefile
new file mode 100644
index 000000000000..af855a3e4b60
--- /dev/null
+++ b/x11/sxhkd/Makefile
@@ -0,0 +1,22 @@
+# Created by: Anton Törnqvist <antont@inbox.lv>
+# $FreeBSD$
+
+PORTNAME= sxhkd
+PORTVERSION= 0.5.4
+CATEGORIES= x11
+
+MAINTAINER= antont@inbox.lv
+COMMENT= Simple X hotkey daemon
+
+LIB_DEPENDS= libxcb-keysyms.so:${PORTSDIR}/x11/xcb-util-keysyms
+
+USE_GITHUB= yes
+GH_ACCOUNT= baskerville
+GH_COMMIT= eaf83e9
+
+USES= gmake
+
+PLIST_FILES= bin/sxhkd \
+ man/man1/sxhkd.1.gz
+
+.include <bsd.port.mk>
diff --git a/x11/sxhkd/distinfo b/x11/sxhkd/distinfo
new file mode 100644
index 000000000000..19ee73a2ccda
--- /dev/null
+++ b/x11/sxhkd/distinfo
@@ -0,0 +1,2 @@
+SHA256 (sxhkd-0.5.4.tar.gz) = 7eabe0e41549b26ddf9ba41d18c63f3192a888633e4115a1b693f3f785042466
+SIZE (sxhkd-0.5.4.tar.gz) = 34565
diff --git a/x11/sxhkd/files/patch-Makefile b/x11/sxhkd/files/patch-Makefile
new file mode 100644
index 000000000000..78b5873ffb21
--- /dev/null
+++ b/x11/sxhkd/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2014-12-15 21:21:15 UTC
++++ Makefile
+@@ -9,7 +9,7 @@ LDFLAGS += -L$(PREFIX)/lib
+
+ PREFIX ?= /usr/local
+ BINPREFIX = $(PREFIX)/bin
+-MANPREFIX = $(PREFIX)/share/man
++MANPREFIX = $(PREFIX)/man
+
+ SRC = $(wildcard *.c)
+ OBJ = $(SRC:.c=.o)
diff --git a/x11/sxhkd/pkg-descr b/x11/sxhkd/pkg-descr
new file mode 100644
index 000000000000..1b3a10a7df69
--- /dev/null
+++ b/x11/sxhkd/pkg-descr
@@ -0,0 +1,4 @@
+sxhkd is a simple X hotkey daemon with a powerful and compact
+configuration syntax.
+
+WWW: https://github.com/baskerville/sxhkd