Add x11/xclickroot

xclickroot runs a command every time a given mouse button is pressed
on the root window.

WWW: https://github.com/phillbush/xclickroot
This commit is contained in:
Mateusz Piotrowski 2020-10-06 11:33:29 +00:00
parent c2aff59528
commit 6efd2fc851
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=551574
4 changed files with 44 additions and 0 deletions

View File

@ -389,6 +389,7 @@
SUBDIR += xcb-util-wm
SUBDIR += xcb-util-xrm
SUBDIR += xcbautolock
SUBDIR += xclickroot
SUBDIR += xclip
SUBDIR += xclipboard
SUBDIR += xcm

34
x11/xclickroot/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $FreeBSD$
PORTNAME= xclickroot
DISTVERSIONPREFIX= v
DISTVERSION= 1.1
CATEGORIES= x11
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/pull/
PATCHFILES= 1.patch:-p1
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Run a command every time a given mouse button is pressed on the root window
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/README
USES= localbase:ldflags xorg
USE_GITHUB= yes
GH_ACCOUNT= phillbush
USE_XORG= x11
MAKE_ARGS= CC="${CC}" \
CFLAGS="${CFLAGS}" \
CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS} -lX11" \
LIBS="${LIBS}" \
PREFIX="${PREFIX}"
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>

5
x11/xclickroot/distinfo Normal file
View File

@ -0,0 +1,5 @@
TIMESTAMP = 1601981388
SHA256 (phillbush-xclickroot-v1.1_GH0.tar.gz) = 289e96b5aad2bf2c9cb2d6aa79c1f0f1e4679e4aa2bc69a9522f14af1b78fc62
SIZE (phillbush-xclickroot-v1.1_GH0.tar.gz) = 2250
SHA256 (1.patch) = ab78b9b7c7eb7380d4d53aa7a774df918bbe53dbb672a9ea5904f5e45064610f
SIZE (1.patch) = 939

4
x11/xclickroot/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
xclickroot runs a command every time a given mouse button is pressed
on the root window.
WWW: https://github.com/phillbush/xclickroot