Since nothing I have installed has any notes in the portfile but many of them have ui_msg could we possibly add a flag or another command to print the ui_msg as well?

port notes apache2 :ui_msg

// Brad

On Jan 8, 2010, at 3:39 PM, Joshua Root wrote:

On 2010-1-9 09:40 , Bradley Giesbrecht wrote:
On Jan 8, 2010, at 9:21 AM, Joshua Root wrote:

On 2010-1-9 03:38 , Bradley Giesbrecht wrote:
Is there a port command for just printing out the port ui_mesg?

If not this might be simple to implement and useful.

Well, ui_msg is just a procedure and as such can be called
conditionally, so there's no such thing as "the" ui_msg for a port.
Anything the user might want to see again should be done with the
'notes' feature introduced in 1.8.

I haven't seen 'notes' in a portfile yet.

Is the idea that most of the stuff that is currently in ui_msg should be
moved to notes?

Can you give me an example of the Portfile variable and port command
usage for notes?

color-theme-mode.el was the first example I found. Usage is just
"port notes <portname>"

- Josh

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to