source: trunk/dports/sysutils/mc/Portfile @ 139469

Last change on this file since 139469 was 139469, checked in by jmr@…, 4 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

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