port notes

Ryan Schmidt ryandesign at macports.org
Sat May 1 12:58:17 PDT 2010


On May 1, 2010, at 14:51, Ryan Schmidt wrote:

> On May 1, 2010, at 14:27, Scott Haneda wrote:
> 
>> For example, I now have:
>>   ui_msg "You can start ${pretty_name} from the command line with:"
>>   ui_msg "    sudo ${prefix}/sbin/${name} &"
>> 
>> That would not make a lot of sense to display via `port notes` if the software is not installed.  So I should wrap those blocks in a condition that checks if the port was installed?
> 
> Hm. I'm not sure.

The example shown in the port manpage (in trunk) is similar, showing instructions that only make sense once the port is installed. So I don't think you need to wrap that in any is-installed tests. Just write the notes.




More information about the macports-dev mailing list