How do you get the ports directory for a port via a script?
Jim Graham
spooky130u at gmail.com
Sun Dec 2 10:24:00 PST 2012
On Sun, Dec 02, 2012 at 12:17:55PM -0500, Brandon Allbery wrote:
> On Sun, Dec 2, 2012 at 12:14 PM, Jim Graham <spooky130u at gmail.com> wrote:
>
> > 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> ?
Yep, that'd be a definite yes, there is a way that I missed.
Thanks,
--jim
--
THE SCORE: ME: 2 CANCER: 0
73 DE N5IAL (/4) | DMR: So fsck was originally called
spooky130u at gmail.com | something else.
< Running Mac OS X Lion > | Q: What was it called?
ICBM / Hurricane: | DMR: Well, the second letter was different.
30.44406N 86.59909W | -- Dennis M. Ritchie, Usenix, June 1998.
More information about the macports-users
mailing list