Index: x11/Makefile =================================================================== --- x11/Makefile +++ x11/Makefile @@ -103,6 +103,7 @@ SUBDIR += hsetroot SUBDIR += i3blocks SUBDIR += i3lock + SUBDIR += i3lock-color SUBDIR += i3status SUBDIR += iceauth SUBDIR += ico Index: x11/i3lock-color/Makefile =================================================================== --- /dev/null +++ x11/i3lock-color/Makefile @@ -0,0 +1,46 @@ +# Created by: Jacob House +# $FreeBSD$ + +PORTNAME= i3lock-color +DISTVERSION= 2.12.c +CATEGORIES= x11 + +MAINTAINER= jacob@jwfh.ca +COMMENT= Slightly improved screen locker based on slock + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms \ + libxcb-image.so:x11/xcb-util-image \ + libev.so:devel/libev \ + libxkbfile.so:x11/libxkbfile \ + libxkbcommon.so:x11/libxkbcommon \ + libxcb-util.so:x11/xcb-util \ + libxcb-xrm.so:x11/xcb-util-xrm + +USES= autoreconf gmake iconv jpeg localbase pkgconfig xorg +USE_GITHUB= yes +GH_ACCOUNT= Raymo111 +LDFLAGS+= ${ICONV_LIB} +USE_XORG= x11 xcb xt xorgproto xext +USE_GNOME= cairo +USE_CSTD= c99 +GNU_CONFIGURE= yes + +CONFLICTS_INSTALL= i3lock + +DOC_FILES= CHANGELOG README.md +DOCS_PLIST_FILES= ${DOC_FILES:S|^|${DOCSDIR_REL}/|} + +OPTIONS_DEFINE= DOCS + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/i3lock + ${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/i3lock + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include Index: x11/i3lock-color/distinfo =================================================================== --- /dev/null +++ x11/i3lock-color/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1589309244 +SHA256 (Raymo111-i3lock-color-2.12.c_GH0.tar.gz) = c2ba4cfa51fee3fd2cab439805d213d8614407d93cf8eecbd4e6fa5cb4c9b7a3 +SIZE (Raymo111-i3lock-color-2.12.c_GH0.tar.gz) = 261245 Index: x11/i3lock-color/pkg-descr =================================================================== --- /dev/null +++ x11/i3lock-color/pkg-descr @@ -0,0 +1,19 @@ +From the i3lock pkg-descr: + + i3lock improves slock by making it fork() and therefore combinable with + commands to suspend your computer. Additionally, instead of turning off + your screen via DPMS and/or displaying a black screen, i3lock displays + a white screen so you can see if your computer failed to resume from + suspend or if your screen is just locked. Also, when entering a wrong + password, i3lock does not call XBell(). This is important because + i3lock/slock think you have entered a password when resuming from + suspend, at least sometimes. + + i3lock was forked from slock-0.9 + +i3lock-color forks i3lock and adds support for color options for verification +ring, backspace highlight color, key highlight color, etc., blurring the +current screen and using that as the lock background, showing a clock in the +indicator, and more. + +WWW: https://github.com/PandorasFox/i3lock-color Index: x11/i3lock-color/pkg-plist =================================================================== --- /dev/null +++ x11/i3lock-color/pkg-plist @@ -0,0 +1,2 @@ +@(,,4755) bin/i3lock +man/man1/i3lock.1.gz