New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79209


Ignore:
Timestamp:
06/05/11 14:51:41 (4 years ago)
Author:
ryandesign@…
Message:

ejabberd: use notes instead of ui_msg's; see #29693

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/ejabberd/Portfile

    r79129 r79209  
    3737destroot.keepdirs   ${destroot}${prefix}/var/log/ejabberd/ 
    3838 
     39set etc ${prefix}/etc/ejabberd 
    3940post-destroot { 
    4041    # Create sample configuration files so they don't get overwritten by an 
    4142    # update. 
    42     set etc ${destroot}${prefix}/etc/ejabberd 
    4343    foreach file ${conf_files} { 
    44         file rename ${etc}/${file} ${etc}/${file}.sample 
     44        file rename ${destroot}${etc}/${file} ${destroot}${etc}/${file}.sample 
    4545    } 
    4646 
     
    5151} 
    5252 
    53 post-install { 
    54     ui_msg "****************************************************************" 
    55     ui_msg "*                                                              *" 
    56     ui_msg "* If you run ejabberd for the first time, then you must rename *" 
    57     ui_msg "* the following configuration files by removing the .sample    *" 
    58     ui_msg "* extension:                                                   *" 
    59     ui_msg "*                                                              *" 
    60     ui_msg "* cd ${prefix}/etc/ejabberd/                                  *" 
    61     foreach file ${conf_files} { 
    62         ui_msg "* mv ${file}.sample ${file}" 
    63     } 
    64     ui_msg "*                                                              *" 
    65     ui_msg "****************************************************************" 
     53notes " 
     54Before running ${name} for the first time, you must copy the sample\ 
     55configuration files: 
     56 
     57cd ${etc}/ 
     58" 
     59foreach file ${conf_files} { 
     60    notes-append "cp ${file}.sample ${file}" 
    6661} 
    6762 
Note: See TracChangeset for help on using the changeset viewer.