1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name mc |
---|
7 | version 4.8.4 |
---|
8 | categories sysutils |
---|
9 | maintainers waqar openmaintainer |
---|
10 | license GPL-3+ |
---|
11 | |
---|
12 | description GNU Midnight Commander |
---|
13 | long_description \ |
---|
14 | GNU Midnight Commander is a user-friendly yet powerful file \ |
---|
15 | manager and visual shell, useful to novice and guru alike. \ |
---|
16 | It provides a clear, user-friendly, and somewhat protected \ |
---|
17 | interface to a Unix system while making many frequent file \ |
---|
18 | operations more efficient and preserving the full power of \ |
---|
19 | the command prompt. After some practice, you will wonder how \ |
---|
20 | you could ever live without it. |
---|
21 | homepage http://www.midnight-commander.org/ |
---|
22 | platforms darwin |
---|
23 | master_sites ${homepage}downloads |
---|
24 | |
---|
25 | use_xz yes |
---|
26 | |
---|
27 | checksums rmd160 b2a0bddf05eff89afa1257f515e2db1a31c414a3 \ |
---|
28 | sha256 b4be11c27857ec0c0896a7cd42dd1782a03d1e4c82c83f86b5cc880f6970863e |
---|
29 | |
---|
30 | depends_build path:bin/pkg-config:pkgconfig |
---|
31 | depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 |
---|
32 | |
---|
33 | configure.args --without-x |
---|
34 | |
---|
35 | post-destroot { |
---|
36 | set docdir ${destroot}${prefix}/share/doc/${name} |
---|
37 | xinstall -d ${docdir} |
---|
38 | xinstall -m 644 -W ${worksrcpath} \ |
---|
39 | AUTHORS \ |
---|
40 | COPYING \ |
---|
41 | NEWS \ |
---|
42 | README \ |
---|
43 | ${docdir} |
---|
44 | } |
---|
45 | |
---|
46 | variant slang2 conflicts ncurses description {use slang2 screen library} { |
---|
47 | depends_lib-append port:slang2 |
---|
48 | configure.args-append --with-screen=slang \ |
---|
49 | --with-slang-includes=${prefix} \ |
---|
50 | --with-slang-libs=${prefix} |
---|
51 | } |
---|
52 | |
---|
53 | variant ncurses conflicts slang2 description {use ncurses screen library} { |
---|
54 | depends_lib-append port:ncurses |
---|
55 | configure.args-append --with-screen=ncurses |
---|
56 | } |
---|
57 | |
---|
58 | if { ![variant_isset ncurses] } { |
---|
59 | default_variants +slang2 |
---|
60 | } |
---|
61 | |
---|
62 | livecheck.type regex |
---|
63 | livecheck.url ${homepage} |
---|
64 | livecheck.regex {Latest stable released version: ([0-9.]+)} |
---|