Files

75 lines
2.4 KiB
Tcl
Raw Permalink Normal View History

2011-09-27 21:05:11 +00:00
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2004-01-23 23:40:25 +00:00
PortSystem 1.0
2008-05-12 21:27:45 +00:00
2011-06-14 14:13:34 +00:00
name mc
2025-01-24 23:01:29 +03:00
version 4.8.33
2024-08-24 23:49:59 +02:00
revision 0
2021-01-31 08:48:31 -05:00
2011-06-14 14:13:34 +00:00
categories sysutils
2018-01-31 09:16:35 -07:00
maintainers nomaintainer
license GPL-3+
2011-06-14 14:13:34 +00:00
description GNU Midnight Commander
2021-01-31 08:48:31 -05:00
2011-06-14 14:13:34 +00:00
long_description \
GNU Midnight Commander is a user-friendly yet powerful file \
manager and visual shell, useful to novice and guru alike. \
It provides a clear, user-friendly, and somewhat protected \
interface to a Unix system while making many frequent file \
operations more efficient and preserving the full power of \
the command prompt. After some practice, you will wonder how \
you could ever live without it.
2021-01-31 08:48:31 -05:00
homepage https://www.midnight-commander.org
master_sites ${homepage}/downloads
2011-06-14 14:13:34 +00:00
use_xz yes
2025-01-24 23:01:29 +03:00
checksums rmd160 87c5363d8f6645a9b35c5ad067c0fdcf2af7b438 \
sha256 cae149d42f844e5185d8c81d7db3913a8fa214c65f852200a9d896b468af164c \
size 2424476
2014-01-04 12:46:43 +00:00
depends_build port:pkgconfig
2011-06-14 14:13:34 +00:00
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2
patchfiles patch-src_subshell_common.c.diff
2025-01-24 23:01:29 +03:00
compiler.c_standard 1999
2021-01-01 10:53:26 -05:00
configure.args --without-x --enable-vfs-sftp=no
post-destroot {
2011-06-14 14:13:34 +00:00
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
xinstall -m 644 -W ${worksrcpath} \
AUTHORS \
COPYING \
NEWS \
README \
${docdir}
}
variant slang2 conflicts ncurses description {use slang2 screen library} {
2011-06-14 14:13:34 +00:00
depends_lib-append port:slang2
2025-01-24 23:01:29 +03:00
configure.args-append --with-screen=slang
}
variant ncurses conflicts slang2 description {use ncurses screen library} {
2011-08-09 21:01:10 +00:00
depends_lib-append port:ncurses
2011-06-14 14:13:34 +00:00
configure.args-append --with-screen=ncurses
}
2020-12-21 20:21:12 +01:00
variant sftp description {adds remote access to sftp servers} {
2021-01-01 10:53:26 -05:00
depends_lib-append port:libssh2
configure.args-replace --enable-vfs-sftp=no \
--enable-vfs-sftp=yes
2020-12-21 20:21:12 +01:00
}
if { ![variant_isset ncurses] } {
2011-06-14 14:13:34 +00:00
default_variants +slang2
}
2011-06-14 14:13:34 +00:00
livecheck.type regex
2012-05-28 03:45:44 +00:00
livecheck.url ${homepage}
2014-01-04 12:46:43 +00:00
livecheck.regex {Current version is: ([0-9.]+)}