Re: Checking if a given port is installed in pre-fetch

2008-03-03 Thread Daniel J. Luke
On Mar 2, 2008, at 2:09 PM, Adam Mercer wrote: On Sun, Mar 2, 2008 at 12:16 PM, Daniel J. Luke [EMAIL PROTECTED] wrote: 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? I want to upgrade the

Re: Checking if a given port is installed in pre-fetch

2008-03-03 Thread Rainer Müller
Daniel J. Luke wrote: There's not a built-in way to do this (but it might be a nice base/ feature), and I don't know of a really good way of doing it (you could probably check for an installed binary in a pre-fetch action and output an appropriate ui_error message). Which would issue a

Re: Checking if a given port is installed in pre-fetch

2008-03-03 Thread Ryan Schmidt
On Mar 3, 2008, at 10:18, Daniel J. Luke wrote: On Mar 2, 2008, at 2:09 PM, Adam Mercer wrote: On Sun, Mar 2, 2008 at 12:16 PM, Daniel J. Luke wrote: 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

Re: Checking if a given port is installed in pre-fetch

2008-03-03 Thread Adam Mercer
On Mon, Mar 3, 2008 at 4:13 PM, Ryan Schmidt [EMAIL PROTECTED] wrote: (or get things patched/updated so they can work with the newer version of the port). That would be ideal. Agreed. At the moment I don't think theres many people, besides myself, who are interested in a geos-3.0.0

Re: Checking if a given port is installed in pre-fetch

2008-03-02 Thread Daniel J. Luke
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

Re: Checking if a given port is installed in pre-fetch

2008-03-02 Thread Adam Mercer
On Sun, Mar 2, 2008 at 12:16 PM, Daniel J. Luke [EMAIL PROTECTED] wrote: 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? I want to upgrade the science/geos port to 3.0.0 but matplotlib-basemap