pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

clex: pkg/60361 (sysutils/clex: update to 4.7)



Module Name:	pkgsrc-wip
Committed By:	Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By:	drixter
Date:		Wed Jun 24 12:57:55 2026 +0200
Changeset:	4ee3229914006ae79df75f92816ab707be06dd4e

Modified Files:
	Makefile
Added Files:
	clex/DESCR
	clex/Makefile
	clex/PLIST
	clex/TODO
	clex/distinfo
	clex/patches/patch-src_cfg-clex
	clex/patches/patch-src_clexheaders.h

Log Message:
clex: pkg/60361 (sysutils/clex: update to 4.7)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4ee3229914006ae79df75f92816ab707be06dd4e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                             |  1 +
 clex/DESCR                           | 11 +++++++++++
 clex/Makefile                        | 25 +++++++++++++++++++++++++
 clex/PLIST                           |  7 +++++++
 clex/TODO                            |  2 ++
 clex/distinfo                        |  7 +++++++
 clex/patches/patch-src_cfg-clex      | 15 +++++++++++++++
 clex/patches/patch-src_clexheaders.h | 15 +++++++++++++++
 8 files changed, 83 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 7d18410716..6b8acb635a 100644
--- a/Makefile
+++ b/Makefile
@@ -535,6 +535,7 @@ SUBDIR+=	classgen
 SUBDIR+=	classic-mac-font-pack
 SUBDIR+=	claws-mail-fancy
 SUBDIR+=	clearsans-ttf
+SUBDIR+=	clex
 SUBDIR+=	clfswm
 SUBDIR+=	clhep
 SUBDIR+=	cli-git
diff --git a/clex/DESCR b/clex/DESCR
new file mode 100644
index 0000000000..9dc609a5e5
--- /dev/null
+++ b/clex/DESCR
@@ -0,0 +1,11 @@
+CLEX (pronounced KLEKS) is a file manager with a full-screen user
+interface.  It displays directory contents including the file status
+details and provides features like command history, filename
+insertion, or name completion in order to help users to create
+commands to be executed by the shell.
+
+CLEX is a versatile tool for system administrators and all users that
+utilize the enormous power of the command line.  Its unique one-panel
+user interface enhances productivity and lessens the probability of
+mistake.  There are no built-in commands, CLEX is an add-on to your
+favorite shell.
diff --git a/clex/Makefile b/clex/Makefile
new file mode 100644
index 0000000000..09c5b7f520
--- /dev/null
+++ b/clex/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.14 2025/12/18 17:41:39 nia Exp $
+
+DISTNAME=		clex-4.7
+CATEGORIES=		sysutils
+MASTER_SITES=		${MASTER_SITE_GITHUB:=xitop/}
+GITHUB_TAG=		v${PKGVERSION_NOREV}
+
+MAINTAINER=		bartosz.kuzma%gmail.com@localhost
+HOMEPAGE=		https://github.com/xitop/clex
+COMMENT=		File manager with a full-screen user interface
+LICENSE=		gnu-gpl-v2
+
+USE_TOOLS+=		autoconf automake autoreconf
+USE_CC_FEATURES+=	c99
+#USE_LANGUAGES=		c99
+GNU_CONFIGURE=		yes
+
+CFLAGS.SunOS+=		-D__EXTENSIONS__
+
+pre-configure:
+	cd ${WRKSRC} && autoreconf -fi
+
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/clex/PLIST b/clex/PLIST
new file mode 100644
index 0000000000..4c0ad51261
--- /dev/null
+++ b/clex/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.2 2012/02/17 13:23:28 obache Exp $
+bin/cfg-clex
+bin/clex
+bin/kbd-test
+man/man1/cfg-clex.1
+man/man1/clex.1
+man/man1/kbd-test.1
diff --git a/clex/TODO b/clex/TODO
new file mode 100644
index 0000000000..5cec007f05
--- /dev/null
+++ b/clex/TODO
@@ -0,0 +1,2 @@
+Double checking
+
diff --git a/clex/distinfo b/clex/distinfo
new file mode 100644
index 0000000000..47714658d5
--- /dev/null
+++ b/clex/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.7 2021/10/26 11:19:26 nia Exp $
+
+BLAKE2s (clex-4.7.tar.gz) = 91294b2700d8c8ac34b34e886e9274c1dc0e7945f05ce3a818abdab7b17b409f
+SHA512 (clex-4.7.tar.gz) = a7da964cb32fcd5c4ef12c0921e9314dd236543ba2c848300fdcaaff6ec2a412081cea8f1df48946e1a0daa34eb6e54f3bf1124c6534b4663796e16f56bcfcf5
+Size (clex-4.7.tar.gz) = 157528 bytes
+SHA1 (patch-src_cfg-clex) = ba6ac277ea4a1bfe31cbac078d1c77f2ce81959a
+SHA1 (patch-src_clexheaders.h) = 4928ef4f30e0df17780108b464cbf5c00ef637b6
diff --git a/clex/patches/patch-src_cfg-clex b/clex/patches/patch-src_cfg-clex
new file mode 100644
index 0000000000..179b0d836c
--- /dev/null
+++ b/clex/patches/patch-src_cfg-clex
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_cfg-clex,v 1.1 2012/02/17 13:23:28 obache Exp $
+
+* portability fix
+
+--- src/cfg-clex.orig	2009-05-20 08:58:50.000000000 +0000
++++ src/cfg-clex
+@@ -139,7 +139,7 @@ convert_config() {
+ 	if [ x"$CLEX_ACTIVE_LAYOUT" != x ] ; then
+ 		CLEX_LAYOUT_ACTIVE=`expr $CLEX_ACTIVE_LAYOUT + 1`
+ 	fi
+-	if [ x"$CLEX_XTERM_TITLE" == x'2' ] ; then
++	if [ x"$CLEX_XTERM_TITLE" = x'2' ] ; then
+ 		CLEX_XTERM_TITLE='1'
+ 	fi
+ 	if [ x"$CLEX_LAYOUT1" != x ] ; then
diff --git a/clex/patches/patch-src_clexheaders.h b/clex/patches/patch-src_clexheaders.h
new file mode 100644
index 0000000000..19d9053919
--- /dev/null
+++ b/clex/patches/patch-src_clexheaders.h
@@ -0,0 +1,15 @@
+$NetBSD$
+
+ 
+ * Need to treat *BSD same as FreeBSD.
+ 
+
+--- src/clexheaders.h.orig	2026-06-24 08:43:18.387468661 +0000
++++ src/clexheaders.h
+@@ -1,6 +1,6 @@
+ #if defined(__APPLE__)
+ # define _XOPEN_SOURCE_EXTENDED
+-#elif !defined(__FreeBSD__)
++#elif !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
+ # define _XOPEN_SOURCE 600
+ #endif


Home | Main Index | Thread Index | Old Index