git: 253114334fe1 - main - x11/i3lock-color: Add new port: Improved i3lock version
Rainer Hurling
rhurlin at FreeBSD.org
Mon Aug 9 05:13:31 UTC 2021
The branch main has been updated by rhurlin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=253114334fe1638401337028521b271ee952e973
commit 253114334fe1638401337028521b271ee952e973
Author: Fadel <fjachuf at gmail.com>
AuthorDate: 2021-08-09 05:06:59 +0000
Commit: Rainer Hurling <rhurlin at FreeBSD.org>
CommitDate: 2021-08-09 05:12:49 +0000
x11/i3lock-color: Add new port: Improved i3lock version
A modern version of i3lock with color functionality and other features.
https://github.com/Raymo111/i3lock-color
PR: 257664
---
x11/Makefile | 1 +
x11/i3lock-color/Makefile | 50 ++++++++++++++++++++++++++++++++++++++++++++++
x11/i3lock-color/distinfo | 3 +++
x11/i3lock-color/pkg-descr | 3 +++
x11/i3lock/Makefile | 3 +++
5 files changed, 60 insertions(+)
diff --git a/x11/Makefile b/x11/Makefile
index 4f247e0f23a8..fbcdd04cfb00 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -106,6 +106,7 @@
SUBDIR += hsetroot
SUBDIR += i3blocks
SUBDIR += i3lock
+ SUBDIR += i3lock-color
SUBDIR += i3status
SUBDIR += iceauth
SUBDIR += ico
diff --git a/x11/i3lock-color/Makefile b/x11/i3lock-color/Makefile
new file mode 100644
index 000000000000..14eb99797ab9
--- /dev/null
+++ b/x11/i3lock-color/Makefile
@@ -0,0 +1,50 @@
+PORTNAME= i3lock-color
+DISTVERSION= 2.13.c.4
+CATEGORIES= x11
+
+MAINTAINER= fjachuf at gmail.com
+COMMENT= Enhanced i3lock with higher capacity
+
+LICENSE= BSD3CLAUSE
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/pam_helper:security/pam_helper
+LIB_DEPENDS= libcairo.so:graphics/cairo \
+ libev.so:devel/libev \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2 \
+ libjpeg.so:graphics/jpeg-turbo \
+ libxcb-image.so:x11/xcb-util-image \
+ libxcb-keysyms.so:x11/xcb-util-keysyms \
+ libxcb-util.so:x11/xcb-util \
+ libxcb-xrm.so:x11/xcb-util-xrm \
+ libxkbcommon.so:x11/libxkbcommon \
+ libxkbfile.so:x11/libxkbfile
+
+USES= autoreconf gmake iconv jpeg localbase pkgconfig tar:bzip2 xorg
+USE_CSTD= c99
+USE_GCC= yes
+USE_GITHUB= yes
+GH_ACCOUNT= Raymo111
+USE_XORG= x11 xcb xext xinerama xorgproto xrandr xt
+
+GNU_CONFIGURE= yes
+
+MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
+ X11INC="${LOCALBASE}/include" CC="${CC}" \
+ MANDIR="${MANPREFIX}/man"
+
+LDFLAGS+= ${ICONV_LIB}
+
+CONFLICTS_INSTALL= i3lock-[0-9]*
+
+BUILD_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
+INSTALL_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
+
+PLIST_FILES= "@(,,4755) bin/i3lock" \
+ man/man1/i3lock.1.gz
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/i3lock
+ @${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/i3lock
+
+.include <bsd.port.mk>
diff --git a/x11/i3lock-color/distinfo b/x11/i3lock-color/distinfo
new file mode 100644
index 000000000000..c3be6dc889b0
--- /dev/null
+++ b/x11/i3lock-color/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1628201335
+SHA256 (Raymo111-i3lock-color-2.13.c.4_GH0.tar.gz) = 5df4cd3d515d938630ced981a7f0a6e01344d1ec51d10fd3c3d131d19283df69
+SIZE (Raymo111-i3lock-color-2.13.c.4_GH0.tar.gz) = 215078
diff --git a/x11/i3lock-color/pkg-descr b/x11/i3lock-color/pkg-descr
new file mode 100644
index 000000000000..900be6ddc6e5
--- /dev/null
+++ b/x11/i3lock-color/pkg-descr
@@ -0,0 +1,3 @@
+An improved version of i3lock, with more capabilities.
+
+WWW: https://github.com/Raymo111/i3lock-color
diff --git a/x11/i3lock/Makefile b/x11/i3lock/Makefile
index 2d7ecf2a5630..1e2d04d414ec 100644
--- a/x11/i3lock/Makefile
+++ b/x11/i3lock/Makefile
@@ -32,6 +32,9 @@ LDFLAGS+= ${ICONV_LIB}
USE_XORG= x11 xcb xt xorgproto xext
USE_CSTD= c99
GNU_CONFIGURE= yes
+
+CONFLICTS_INSTALL= i3lock-color-[0-9]*
+
BUILD_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
INSTALL_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
More information about the dev-commits-ports-all
mailing list