Ticket #21218: diff_4.7

File diff_4.7, 2.3 KB (added by xeenon@…, 15 years ago)

Portfile for mc-4.7

Line 
1--- Portfile    2009-12-29 17:33:46.000000000 +0300
2+++ Portfile_4.7        2009-12-29 17:31:24.000000000 +0300
3@@ -4,14 +4,10 @@
4 PortSystem 1.0
5 
6 name           mc
7-version                4.7.0
8-license     gnu
9+version                4.6.1
10 categories     sysutils
11 maintainers    waqar
12-
13-description    \
14-    GNU Midnight Commander
15-
16+description    GNU Midnight Commander
17 long_description   \
18        GNU Midnight Commander is a user-friendly yet powerful file \
19        manager and visual shell, useful to novice and guru alike. \
20@@ -20,51 +16,17 @@
21        operations more efficient and preserving the full power of \
22        the command prompt. After some practice, you will wonder how \
23        you could ever live without it.
24-
25-homepage http://www.midnight-commander.org/
26-
27-checksums \
28-    md5 fbb8c47179b8fd40104e4d52aeb49659 \
29-       sha1 027aab31da46d3aee6f06e2896b6c37113201ec6
30-
31-depends_build \
32-    port:pkgconfig \
33-    port:autoconf213
34-
35-depends_lib \
36-    port:glib2
37-
38-configure.args \
39-    --without-x \
40-    --mandir=${prefix}/share/man \
41-    --with-libiconv-prefix=${prefix} \
42-    --infodir=${prefix}/share/info
43-
44-master_sites \
45-    ${homepage}downloads
46-
47-use_bzip2       yes
48+homepage       http://www.midnight-commander.org/
49+platforms      darwin
50+master_sites   ${homepage}downloads
51+checksums      md5 18b20db6e40480a53bac2870c56fc3c4 \
52+               sha1 92be0802143245e0fb7e3847d70da614cad7d5fb \
53+               rmd160 d565ee95a8916d73fad5e0defeb9f2f57e50962b
54+depends_build  path:bin/pkg-config:pkgconfig
55+depends_lib    path:lib/pkgconfig/glib-2.0.pc:glib2
56+configure.args --without-x --with-screen=ncurses \
57+       --infodir=${prefix}/share/info --mandir=${prefix}/share/man
58 
59 livecheck.type regex
60-livecheck.url  ${homepage}downloads
61-livecheck.regex        mc-(4\\.7\\.\[0-9.\]+)\\.tar
62-
63-# Build with slang2 screen library
64-variant slang2 conflicts ncurses description {use slang2 screen library} {
65-    depends_lib-append \
66-        port:slang2
67-    configure.args-append \
68-        --with-screen=slang \
69-        --with-slang-includes=${prefix} \
70-        --with-slang-libs=${prefix}
71-}
72-
73-# Build with ncurses screen library
74-variant ncurses conflicts slang2 description {use ncurses screen library} {
75-    configure.args-append \
76-        --with-screen=ncurses
77-}
78-
79-if { ![variant_isset ncurses] } {
80-    default_variants +slang2
81-}
82+livecheck.url  [lindex ${master_sites} 0]
83+livecheck.regex        ${name}-(\[0-9.\]+)\\.tar