Ticket #30914: dialog-libdialog.diff

File dialog-libdialog.diff, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)

proposed patch

  • Portfile

     
    99license         LGPL-2.1
    1010maintainers     jwa
    1111
    12 description     A utility to create nice user interfaces to shell scripts, \
    13     or other scripting languages, such as perl.
     12description         a utility to create nice user interfaces for command-line scripts
    1413
    15 long_description Dialog is a utility to create nice user interfaces to shell \
    16     scripts, or other scripting languages, such as perl. It is \
    17     non-graphical (it uses curses) so it can be run in the \
    18     console or an xterm. There are also graphical Xwindows versions.
     14long_description    ${name} is ${description}. It is non-graphical (it uses \
     15                    curses) so it can be run in the console or an xterm.
    1916
    2017platforms               darwin
    2118homepage        http://www.invisible-island.net/dialog/
     
    3532configure.args  --mandir=${prefix}/share/man \
    3633    --with-ncursesw
    3734
     35if {${name} == ${subport}} {
     36
     37    installs_libs       no
     38
    3839post-destroot   {
    3940    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
    4041    xinstall -m 644 -W ${worksrcpath} CHANGES COPYING README VERSION \
     
    6162livecheck.type  regex
    6263livecheck.url   [lindex ${master_sites} end]
    6364livecheck.regex ${name}-(\[0-9.-\]+)${extract.suffix}
     65} else {
     66    livecheck.type      none
     67}
     68
     69subport libdialog {
     70    description         a library to create nice user interfaces for command-line programs
     71   
     72    long_description    ${name} is ${description}. It is non-graphical (it uses \
     73                        curses) so it can be used in console or xterm programs.
     74   
     75    destroot.target     install-lib
     76}