93.6. mc-4.8.33
Norton-style two-panel terminal file manager (GNU Midnight Commander)
4.8.33-2 · GPL-3.0-or-later · 2.4 SBU · 4.3 MiB, 283 files · 41_system, 504 of 1047 · ports/core/files/mc
Homepage: https://midnight-commander.org/
Depends on: glib, slang, libssh2, gettext, e2fsprogs, aspell, aspell-en.
Required by: no port names it.
Sources: mc-4.8.33.tar.xz (2.3 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install mc'
build.sh:
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-screen=slang \
--without-x \
--enable-vfs-sftp=yes \
--disable-doxygen-doc \
--enable-nls \
--enable-aspell \
--without-gpm-mouse \
--disable-tests
make
make DESTDIR=$PKG install
install -d "$PKG/usr/share/applications"
cat > "$PKG/usr/share/applications/mc.desktop" <<'EOF'
[Desktop Entry]
Type=Application
Name=Files (mc)
GenericName=File Manager
Comment=Browse files with Midnight Commander
Exec=mc %f
Icon=folder
Terminal=true
Categories=System;FileTools;FileManager;
MimeType=inode/directory;
Keywords=file;manager;browser;mc;midnight;commander;
EOF
chmod 644 "$PKG/usr/share/applications/mc.desktop"
Programs: mc, mcdiff, mcedit, mcview.
Directories: /etc/mc, /usr/libexec/mc, /usr/share/licenses/mc, /usr/share/mc.