On Sun, Dec 2, 2012 at 12:14 PM, Jim Graham <[email protected]> wrote:

> with another port.  The one thing I'm missing is how (via a script)
> to get the directory (e.g., textproc for ispell) that the port is
> in.  Is there a way (that I missed while doing my RTFM), via the
> 'port' command or some other ports-related command, to get the
> directory name (from either root or some fixed path)?
>

port dir <portname> ?

host140:10142 Z# port dir ispell
/opt/local/var/macports/sources/
rsync.macports.org/release/ports/textproc/ispell

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to