Ticket #12433: ncurses.diff
File ncurses.diff, 3.2 KB (added by nox@…, 17 years ago) |
---|
-
devel/ncurses/Portfile
4 4 5 5 name ncurses 6 6 version 5.6 7 revision 1 7 8 categories devel 8 9 platforms darwin freebsd 9 10 maintainers imajes@macports.org … … 15 16 characters and function-key mapping, and has all the other \ 16 17 SYSV-curses enhancements over BSD Curses. 17 18 18 homepage http://www.gnu.org/software/ncurses/ ncurses.html19 homepage http://www.gnu.org/software/ncurses/ 19 20 master_sites gnu 20 21 checksums md5 b6593abe1089d6aab1551c105c9300e3 \ 21 22 sha1 4d54d8ad0b90fffa2780a0a45edb6fcb027ef18d \ … … 23 24 24 25 patchfiles patch-configure 25 26 26 # required for terminfo27 depends_run port:ncursesw28 27 29 28 configure.args --with-shared \ 30 29 --disable-rpath \ … … 32 31 --without-ada \ 33 32 --enable-safe-sprintf \ 34 33 --enable-sigwinch \ 35 --without-progs \ 36 --mandir=${prefix}/share/delete-me 37 38 post-destroot { 39 # terminfo & manpages also do come with ncursesw 40 delete ${destroot}${prefix}/lib/terminfo ${destroot}${prefix}/share 41 } 42 43 platform darwin 8 { 44 configure.env-append CC=/usr/bin/gcc-4.0 \ 45 CPP=/usr/bin/cpp-4.0 \ 46 CXX=/usr/bin/g++-4.0 47 } 48 49 platform freebsd { 50 depends_build-append lib:libncursesw:ncursesw 51 destroot.env-append LD_LIBRARY_PATH=${prefix}/lib 52 } 34 --mandir=${prefix}/share/man 53 35 54 36 livecheck.check regex 55 37 livecheck.url http://ftp.gnu.org/gnu/${name}/?M=D -
devel/ncursesw/Portfile
4 4 5 5 name ncursesw 6 6 version 5.6 7 revision 1 7 8 categories devel 8 9 platforms darwin freebsd 9 10 maintainers imajes@macports.org … … 15 16 has all the other SYSV-curses enhancements over BSD Curses. \ 16 17 This library offers wide-character/UTF-8 support. 17 18 18 homepage http://www.gnu.org/software/ncurses/ ncurses.html19 homepage http://www.gnu.org/software/ncurses/ 19 20 master_sites gnu:ncurses 20 21 distname ncurses-${version} 21 22 dist_subdir ncurses … … 25 26 26 27 patchfiles patch-configure 27 28 29 # ncursesw needs binaries provided by ncurses 30 depends_run port:ncurses 31 28 32 configure.args --enable-widec \ 29 33 --disable-rpath \ 30 34 --with-shared \ … … 32 36 --without-ada \ 33 37 --enable-safe-sprintf \ 34 38 --enable-sigwinch \ 35 --mandir=${prefix}/share/man 39 --without-progs \ 40 --mandir=${prefix}/share/delete-me 41 42 post-destroot { 43 # terminfo database and manpages do also come with ncurses 44 delete ${destroot}${prefix}/lib/terminfo ${destroot}${prefix}/share/delete-me 45 } 36 46 37 platform darwin 8 { 38 configure.env-append CC=/usr/bin/gcc-4.0 \ 39 CPP=/usr/bin/cpp-4.0 \ 40 CXX=/usr/bin/g++-4.0 47 platform freebsd { 48 depends_build-append port:ncurses 49 destroot.env-append LD_LIBRARY_PATH=${prefix}/lib 41 50 } 42 51 43 52 livecheck.check regex