Changeset 4522 for trunk/dports


Ignore:
Timestamp:
Jan 8, 2004, 5:51:32 AM (17 years ago)
Author:
toby
Message:

Changed raw ui_msg calls into a post-install stage. Prevents messages from showing up during portindex.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/bash-completion/Portfile

    r4503 r4522  
    1 # $Id: Portfile,v 1.2 2004/01/07 00:13:40 yeled Exp $
     1# $Id: Portfile,v 1.3 2004/01/08 05:51:32 toby Exp $
    22
    33PortSystem      1.0
    44name            bash-completion
    55version         20040101
     6revision        1
    67categories      sysutils
    78maintainers     yeled@opendarwin.org
     
    2122        system "install -m 755 -c ${workpath}/bash_completion/bash_completion ${destroot}${prefix}/etc/"
    2223}
    23 
    24 ui_msg  "================================================================================\n"
    25 ui_msg  "Set this in your .bash_profile:\n"
    26 ui_msg  "\tif \[ -f ${prefix}/etc/bash_completion ]; then\n\t\t. ${prefix}/etc/bash_completion\n\tfi\n"
    27 ui_msg  "================================================================================\n"
     24post-install {
     25    ui_msg  "Set this in your .bash_profile:"
     26    ui_msg  ""
     27    ui_msg  "    if \[ -f ${prefix}/etc/bash_completion ]; then"
     28    ui_msg  "        . ${prefix}/etc/bash_completion"
     29    ui_msg  "    fi"
     30    ui_msg  ""
     31}
Note: See TracChangeset for help on using the changeset viewer.