Checking if a given port is installed in pre-fetch

Daniel J. Luke dluke at geeklair.net
Sun Mar 2 09:16:59 PST 2008


On Mar 1, 2008, at 11:21 PM, Adam Mercer wrote:
> Is there a way that I can check if a given port is installed in a
> pre-fetch phase and display a message, e.g. using ui_msg, if the port
> is installed?


You can do almost anything from within a portfile, but there are lots  
of things that you maybe shouldn't.

What are you trying to accomplish?
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+





More information about the macports-dev mailing list