e9419ede66
Version 4.8.28 - VFS * Remove SMB support - Editor * Add syntax highlighting: * Ngspice/SPICE * DOT/Graphviz - Viewer * Support file/dir macros from mc.ect for standalone viewer - Misc * Minimal version of "check" utility is 0.9.10. * Code cleanup * Support Shift+Fn keys for KiTTY * Filehighlight: * graphical formats: avif, jp2, jxl, heic, heif, psb, psd * Markdown - Fixes * FTBFS with ncurses build with --disable-widec * There is no exit on Ubuntu PPC64 big endian * Segfault on change panel mode * Accelerator conflict in Left/Right menu * move a lot of files across filesystems is slow * mc.ext: wrong order of rules: general matches are made before more specific ones * mc.ext: compressed man pages are shown unformatted * ext.d/misc.sh: invoking /bin/cat on systems that have no /bin/cat * mcedit: errors in syntax definitions * VFS: FISH: when uploading a symbolic link, it creates both the link and its target * VFS: SFTP: timestamps are not preserved for uploaded symlink * VFS: EXTFS: incorrect test of isoinfo * Typo in skin files
65 lines
1.7 KiB
Makefile
65 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.126 2022/04/12 15:29:04 nia Exp $
|
|
|
|
DISTNAME= mc-4.8.28
|
|
CATEGORIES= sysutils
|
|
# Supports HTTPS, but cert is invalid...
|
|
MASTER_SITES= http://ftp.midnight-commander.org/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= cheusov@NetBSD.org
|
|
HOMEPAGE= https://www.midnight-commander.org/
|
|
COMMENT= User-friendly file manager and visual shell
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= pkg-config unzip:run perl:build gmake
|
|
GNU_CONFIGURE= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
# don't want to pull in python
|
|
CHECK_INTERPRETER_SKIP+= libexec/mc/extfs.d/s3+
|
|
CHECK_INTERPRETER_SKIP+= libexec/mc/extfs.d/uc1541
|
|
|
|
# save copies of the configure arguments, harmless
|
|
CHECK_WRKREF_SKIP+= bin/mc
|
|
CHECK_WRKREF_SKIP+= bin/mcdiff
|
|
CHECK_WRKREF_SKIP+= bin/mcedit
|
|
CHECK_WRKREF_SKIP+= bin/mcview
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Linux"
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.cons.saver
|
|
.endif
|
|
|
|
CONFIGURE_ARGS.Darwin+= ac_cv_func_utimensat=no
|
|
# we need working e2fsprogs and gpm packages first
|
|
CONFIGURE_ARGS+= --disable-vfs-undelfs
|
|
CONFIGURE_ARGS+= --without-gpm-mouse
|
|
CONFIGURE_ARGS+= UNZIP=${TOOLS_PATH.unzip} ZIP=${TOOLS_PATH.zip}
|
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST
|
|
|
|
.include "options.mk"
|
|
|
|
EGDIR= ${PREFIX}/share/examples/mc
|
|
|
|
CONFFILES+= edit.indent.rc
|
|
CONFFILES+= filehighlight.ini
|
|
CONFFILES+= mc.default.keymap
|
|
CONFFILES+= mc.emacs.keymap
|
|
CONFFILES+= mc.ext
|
|
CONFFILES+= mc.keymap
|
|
CONFFILES+= mc.menu
|
|
CONFFILES+= mcedit.menu
|
|
CONFFILES+= sfs.ini
|
|
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR}/mc
|
|
|
|
.for i in ${CONFFILES}
|
|
CONF_FILES+= ${EGDIR}/${i} ${PKG_SYSCONFDIR}/mc/${i}
|
|
.endfor
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.30.0
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|