[64473] trunk/dports/sysutils/bash-completion/Portfile

raimue at macports.org raimue at macports.org
Sat Mar 6 15:09:51 PST 2010


Revision: 64473
          http://trac.macports.org/changeset/64473
Author:   raimue at macports.org
Date:     2010-03-06 15:09:51 -0800 (Sat, 06 Mar 2010)
Log Message:
-----------
sysutils/bash-completion:
Switch to notes for usage instruction

Modified Paths:
--------------
    trunk/dports/sysutils/bash-completion/Portfile

Modified: trunk/dports/sysutils/bash-completion/Portfile
===================================================================
--- trunk/dports/sysutils/bash-completion/Portfile	2010-03-06 23:06:32 UTC (rev 64472)
+++ trunk/dports/sysutils/bash-completion/Portfile	2010-03-06 23:09:51 UTC (rev 64473)
@@ -36,14 +36,12 @@
     xinstall -m 644 -W ${filespath} port launchctl ${destroot}${prefix}/etc/bash_completion.d/
 }
 
-post-install {
-    ui_msg  "To use bash_completion, add the following lines at the end of your .bash_profile:"
-    ui_msg  ""
-    ui_msg  "    if \[ -f ${prefix}/etc/bash_completion ]; then"
-    ui_msg  "        . ${prefix}/etc/bash_completion"
-    ui_msg  "    fi"
-    ui_msg  ""
-}
+notes "
+To use bash_completion, add the following lines at the end of your .bash_profile:
+  if \[ -f ${prefix}/etc/bash_completion ]; then
+      . ${prefix}/etc/bash_completion
+  fi
+"
 
 livecheck.type      regex
 livecheck.url       ${homepage}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100306/fb2e579e/attachment.html>


More information about the macports-changes mailing list