mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
deskutils/keep-presence: New port: Prevent system from becoming idle
This commit is contained in:
parent
8a7fe23132
commit
ef9d19bab6
4 changed files with 41 additions and 0 deletions
|
@ -140,6 +140,7 @@
|
||||||
SUBDIR += kdepim-addons
|
SUBDIR += kdepim-addons
|
||||||
SUBDIR += kdepim-runtime
|
SUBDIR += kdepim-runtime
|
||||||
SUBDIR += keditbookmarks
|
SUBDIR += keditbookmarks
|
||||||
|
SUBDIR += keep-presence
|
||||||
SUBDIR += kfind
|
SUBDIR += kfind
|
||||||
SUBDIR += kmail
|
SUBDIR += kmail
|
||||||
SUBDIR += kmail-account-wizard
|
SUBDIR += kmail-account-wizard
|
||||||
|
|
33
deskutils/keep-presence/Makefile
Normal file
33
deskutils/keep-presence/Makefile
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
PORTNAME= keep-presence
|
||||||
|
DISTVERSION= 1.0.6 # repo not tagged
|
||||||
|
CATEGORIES= deskutils
|
||||||
|
|
||||||
|
MAINTAINER= yuri@FreeBSD.org
|
||||||
|
COMMENT= Prevent system from becoming idle
|
||||||
|
WWW= https://github.com/moses-palmer/pynput
|
||||||
|
|
||||||
|
LICENSE= GPLv3
|
||||||
|
LICENSE_FILE= ${WRKSRC}/../LICENSE
|
||||||
|
|
||||||
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynput>0:x11/py-pynput@${PY_FLAVOR}
|
||||||
|
|
||||||
|
USES= python:3.6+
|
||||||
|
USE_PYTHON= distutils autoplist
|
||||||
|
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= carrot69
|
||||||
|
GH_TAGNAME= a6cf974
|
||||||
|
|
||||||
|
WRKSRC_SUBDIR= src
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
POST_PLIST= fix-plist
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
@${MV} ${STAGEDIR}${PREFIX}/bin/keep-presence.py ${STAGEDIR}${PREFIX}/bin/keep-presence
|
||||||
|
|
||||||
|
fix-plist:
|
||||||
|
@${REINPLACE_CMD} -e "s|bin/keep-presence\.py|bin/keep-presence|" ${TMPPLIST}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
deskutils/keep-presence/distinfo
Normal file
3
deskutils/keep-presence/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1675218791
|
||||||
|
SHA256 (carrot69-keep-presence-1.0.6-a6cf974_GH0.tar.gz) = 48af305cdfc9964cf87a215efea4d81a11182c0bb73c9b72280f10941e5fd807
|
||||||
|
SIZE (carrot69-keep-presence-1.0.6-a6cf974_GH0.tar.gz) = 2546740
|
4
deskutils/keep-presence/pkg-descr
Normal file
4
deskutils/keep-presence/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
keep-presence is a program moves the mouse or press a key when it detects that
|
||||||
|
you are away.
|
||||||
|
It won't do anything if you are using your computer.
|
||||||
|
Useful to trick your machine to think you are still working with it.
|
Loading…
Add table
Reference in a new issue