From 7e049a5e58cd5592d92280e2148d3681418496dd Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Sat, 20 Dec 2014 13:17:13 +0000 Subject: [PATCH] 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 --- x11/Makefile | 1 + x11/sxhkd/Makefile | 22 ++++++++++++++++++++++ x11/sxhkd/distinfo | 2 ++ x11/sxhkd/files/patch-Makefile | 11 +++++++++++ x11/sxhkd/pkg-descr | 4 ++++ 5 files changed, 40 insertions(+) create mode 100644 x11/sxhkd/Makefile create mode 100644 x11/sxhkd/distinfo create mode 100644 x11/sxhkd/files/patch-Makefile create mode 100644 x11/sxhkd/pkg-descr 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 +# $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 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