1 | |
---|
2 | PortSystem 1.0 |
---|
3 | |
---|
4 | name ncurses |
---|
5 | version 5.6 |
---|
6 | categories devel |
---|
7 | platforms darwin freebsd |
---|
8 | maintainers imajes@macports.org |
---|
9 | description emulation of curses in System V Release 4.0 |
---|
10 | long_description \ |
---|
11 | The Ncurses (new curses) library is a free software emulation of \ |
---|
12 | curses in System V Release 4.0, and more. It uses Terminfo format, \ |
---|
13 | supports pads and color and multiple highlights and forms \ |
---|
14 | characters and function-key mapping, and has all the other \ |
---|
15 | SYSV-curses enhancements over BSD Curses. |
---|
16 | |
---|
17 | homepage http://www.gnu.org/software/ncurses/ncurses.html |
---|
18 | master_sites gnu |
---|
19 | checksums md5 b6593abe1089d6aab1551c105c9300e3 \ |
---|
20 | sha1 4d54d8ad0b90fffa2780a0a45edb6fcb027ef18d \ |
---|
21 | rmd160 1a878819c43e6426500fd74ccedf0a032ef399d8 |
---|
22 | |
---|
23 | patchfiles patch-configure |
---|
24 | |
---|
25 | configure.args --with-shared \ |
---|
26 | --disable-rpath \ |
---|
27 | --without-debug \ |
---|
28 | --without-ada \ |
---|
29 | --enable-safe-sprintf \ |
---|
30 | --enable-sigwinch \ |
---|
31 | --enable-widec \ |
---|
32 | --enable-overwrite \ |
---|
33 | --enable-termcap \ |
---|
34 | --mandir=${prefix}/share/man |
---|
35 | |
---|
36 | post-destroot { |
---|
37 | delete ${destroot}${prefix}/lib/terminfo |
---|
38 | foreach f {form menu ncurses panel} { |
---|
39 | ln -s lib${f}w.5.dylib ${destroot}${prefix}/lib/lib${f}.dylib |
---|
40 | ln -s lib${f}w.a ${destroot}${prefix}/lib/lib${f}.a |
---|
41 | } |
---|
42 | ln -s libncurses++w.a ${destroot}${prefix}/lib/libncurses++.a |
---|
43 | ln -s libncursesw.5.dylib ${destroot}${prefix}/lib/libcurses.dylib |
---|
44 | ln -s libncursesw.5.dylib ${destroot}${prefix}/lib/libtermcap.dylib |
---|
45 | } |
---|
46 | |
---|
47 | platform darwin 8 { |
---|
48 | configure.env-append CC=/usr/bin/gcc-4.0 \ |
---|
49 | CPP=/usr/bin/cpp-4.0 \ |
---|
50 | CXX=/usr/bin/g++-4.0 |
---|
51 | } |
---|
52 | |
---|
53 | platform freebsd { |
---|
54 | destroot.env-append LD_LIBRARY_PATH=${prefix}/lib |
---|
55 | } |
---|
56 | |
---|
57 | livecheck.check regex |
---|
58 | livecheck.url http://ftp.gnu.org/gnu/${name}/?M=D |
---|
59 | livecheck.regex ${name}-(\\d+\\.\\d+) |
---|
60 | |
---|