about [UPDATING] [MOVED] [vuxml]summaryrefslograw-logtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2026-10-01 09:00:12 +0100
committerAlexey Dokuchaev <danfe@FreeBSD.org>2026-10-01 09:00:12 +0100
commit4acd1b02fe4c6597fc2ef960bac2c18e0708382f (patch) (diff)
tree4aed997d392f0e3be43182deb541e93bd1739b1f
downloadports-4acd1b02fe4c6597fc2ef960bac2c18e0708382f.tar.gz
 
previous commit5c5910063bc755d62d9575f82b197cb11147f056 (textproc/py-zensical: Update to 0.0.67)
misc/mc: update Midnight Commander to the latest version 4.8.33
- Tentatively switch default renderer from S-Lang to ncurses which is part of the base system and does not pull EoLed `devel/pcre' - GC no longer needed USES+=shebangfix, adjust Python dependency - Add support for entering and viewing FreeBSD packages, based on the idea and patch by Walter von Entferndt - Register installation conflict with `misc/mc6' port while at it PR: 292865, 293259, 294086
-rw-r--r--misc/mc/Makefile[diff] [file]11
-rw-r--r--misc/mc/distinfo[diff] [file]6
-rw-r--r--misc/mc/files/patch-misc_mc.ext.ini.in[diff] [file]15
-rw-r--r--misc/mc/files/patch-src_filemanager_filemanager.c[diff] [file]11
-rw-r--r--misc/mc/pkg-plist[diff] [file]2
5 files changed, 25 insertions, 20 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 4747cff879f9..c4474b093ae2 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -1,5 +1,5 @@
PORTNAME= mc
-PORTVERSION= 4.8.32
+PORTVERSION= 4.8.33
CATEGORIES= misc shells
MASTER_SITES= http://ftp.midnight-commander.org/ \
https://ftp.osuosl.org/pub/midnightcommander/
@@ -18,18 +18,17 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_diffviewer_ydiff.c
RUN_DEPENDS+= gdiff:textproc/diffutils
.endif
-USES= gmake gnome libtool perl5 pkgconfig python shebangfix tar:xz
-SHEBANG_FILES= ${WRKSRC}/src/vfs/extfs/helpers/s3+.in \
- ${WRKSRC}/src/vfs/extfs/helpers/uc1541
-python_OLD_CMD= @PYTHON@
+USES= gmake gnome libtool perl5 pkgconfig python:run tar:xz
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ENV= ZIP=${LOCALBASE}/bin/zip UNZIP=${UNZIP_NATIVE_CMD}
+CONFLICTS_INSTALL= ${PORTNAME}6
+
PORTDOCS= AUTHORS FAQ HACKING NEWS README TODO
OPTIONS_DEFINE= ASPELL DOCS EDITOR EXTATTR ICONV NLS PCRE2 SFTP SUBSHELL X11
-OPTIONS_DEFAULT= EDITOR ICONV SFTP SLANG SUBSHELL X11
+OPTIONS_DEFAULT= EDITOR ICONV SFTP NCURSES SUBSHELL X11
OPTIONS_SINGLE= SCREEN
OPTIONS_SINGLE_SCREEN= SLANG NCURSES
OPTIONS_SUB= yes
diff --git a/misc/mc/distinfo b/misc/mc/distinfo
index 907ef6e65c73..05f5f2ffe6c4 100644
--- a/misc/mc/distinfo
+++ b/misc/mc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1724434629
-SHA256 (mc-4.8.32.tar.xz) = 4ddc83d1ede9af2363b3eab987f54b87cf6619324110ce2d3a0e70944d1359fe
-SIZE (mc-4.8.32.tar.xz) = 2385648
+TIMESTAMP = 1737625478
+SHA256 (mc-4.8.33.tar.xz) = cae149d42f844e5185d8c81d7db3913a8fa214c65f852200a9d896b468af164c
+SIZE (mc-4.8.33.tar.xz) = 2424476
diff --git a/misc/mc/files/patch-misc_mc.ext.ini.in b/misc/mc/files/patch-misc_mc.ext.ini.in
new file mode 100644
index 000000000000..1334fc1e80ea
--- /dev/null
+++ b/misc/mc/files/patch-misc_mc.ext.ini.in
@@ -0,0 +1,15 @@
+--- misc/mc.ext.ini.in.orig 2025-01-15 16:52:17 UTC
++++ misc/mc.ext.ini.in
+@@ -419,6 +419,12 @@ Shell=.deba
+ Open=%cd %p/deba://
+ View=%view{ascii} @EXTHELPERSDIR@/package.sh view deba
+
++# FreeBSD packages
++[pkg]
++Shell=.pkg
++Open=%cd %p/utar://
++View=%view{ascii} pkg info -F %f
++
+ [ISO9660]
+ Shell=.iso
+ ShellIgnoreCase=true
diff --git a/misc/mc/files/patch-src_filemanager_filemanager.c b/misc/mc/files/patch-src_filemanager_filemanager.c
deleted file mode 100644
index aa306b7e0605..000000000000
--- a/misc/mc/files/patch-src_filemanager_filemanager.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/filemanager/filemanager.c.orig 2021-01-10 11:50:16 UTC
-+++ src/filemanager/filemanager.c
-@@ -863,7 +863,7 @@ setup_mc (void)
- add_select_channel (mc_global.tty.subshell_pty, load_prompt, NULL);
- #endif /* !ENABLE_SUBSHELL */
-
-- if ((tty_baudrate () < 9600) || mc_global.tty.slow_terminal)
-+ if ((tty_baudrate () > 0 && tty_baudrate () < 9600) || mc_global.tty.slow_terminal)
- verbose = FALSE;
- }
-
diff --git a/misc/mc/pkg-plist b/misc/mc/pkg-plist
index 543843d0cb0f..472ab373de4e 100644
--- a/misc/mc/pkg-plist
+++ b/misc/mc/pkg-plist
@@ -9,6 +9,7 @@ bin/mcview
%%ETCDIR%%/mc.ext.ini
%%ETCDIR%%/mc.keymap
%%ETCDIR%%/mc.menu
+%%ETCDIR%%/mc.vim.keymap
%%ETCDIR%%/mcedit.menu
%%ETCDIR%%/sfs.ini
libexec/mc/ext.d/archive.sh
@@ -41,6 +42,7 @@ libexec/mc/extfs.d/patchsetfs
libexec/mc/extfs.d/rpm
libexec/mc/extfs.d/rpms+
libexec/mc/extfs.d/s3+
+libexec/mc/extfs.d/torrent
libexec/mc/extfs.d/trpm
libexec/mc/extfs.d/u7z
libexec/mc/extfs.d/uace
This site is maintained by Jamie Landeg-Jones <jamie@catflap.org>, and is not an official FreeBSD project, nor is it endorsed by the FreeBSD team.