Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12433: ncurses.diff

File ncurses.diff, 3.2 KB (added by nox@…, 16 months ago)
  • devel/ncurses/Portfile

     
    44 
    55name            ncurses 
    66version         5.6 
     7revision                1 
    78categories      devel 
    89platforms       darwin freebsd 
    910maintainers     imajes@macports.org 
     
    1516    characters and function-key mapping, and has all the other          \ 
    1617    SYSV-curses enhancements over BSD Curses. 
    1718 
    18 homepage        http://www.gnu.org/software/ncurses/ncurses.html 
     19homepage        http://www.gnu.org/software/ncurses/ 
    1920master_sites    gnu 
    2021checksums       md5 b6593abe1089d6aab1551c105c9300e3 \ 
    2122                sha1 4d54d8ad0b90fffa2780a0a45edb6fcb027ef18d \ 
     
    2324 
    2425patchfiles      patch-configure 
    2526 
    26 # required for terminfo 
    27 depends_run     port:ncursesw 
    2827 
    2928configure.args  --with-shared \ 
    3029                --disable-rpath \ 
     
    3231                --without-ada \ 
    3332                --enable-safe-sprintf \ 
    3433                --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 
    5335 
    5436livecheck.check regex 
    5537livecheck.url   http://ftp.gnu.org/gnu/${name}/?M=D 
  • devel/ncursesw/Portfile

     
    44 
    55name                    ncursesw 
    66version                 5.6 
     7revision                1 
    78categories              devel 
    89platforms               darwin freebsd 
    910maintainers             imajes@macports.org 
     
    1516                                has all the other SYSV-curses enhancements over BSD Curses. \ 
    1617                                This library offers wide-character/UTF-8 support. 
    1718 
    18 homepage                http://www.gnu.org/software/ncurses/ncurses.html 
     19homepage                http://www.gnu.org/software/ncurses/ 
    1920master_sites            gnu:ncurses 
    2021distname                ncurses-${version} 
    2122dist_subdir             ncurses 
     
    2526 
    2627patchfiles              patch-configure 
    2728 
     29# ncursesw needs binaries provided by ncurses 
     30depends_run             port:ncurses 
     31 
    2832configure.args  --enable-widec \ 
    2933                                --disable-rpath \ 
    3034                                --with-shared \ 
     
    3236                                --without-ada \ 
    3337                                --enable-safe-sprintf \ 
    3438                                --enable-sigwinch \ 
    35                                 --mandir=${prefix}/share/man 
     39                                --without-progs \ 
     40                                --mandir=${prefix}/share/delete-me 
     41 
     42post-destroot { 
     43        # terminfo database and manpages do also come with ncurses 
     44        delete ${destroot}${prefix}/lib/terminfo ${destroot}${prefix}/share/delete-me 
     45} 
    3646 
    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 
     47platform freebsd { 
     48        depends_build-append    port:ncurses 
     49        destroot.env-append             LD_LIBRARY_PATH=${prefix}/lib 
    4150} 
    4251 
    4352livecheck.check regex