#38381: RFE: pseudo-portnames `depof:` and `rdepof:` should be more granular --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by egall@…): Replying to [comment:4 larryv@…]:
Replying to [comment:3 egall@…]:
`port info` prints full path-style dependencies when they're used, is there a way to get just the portnames when path-style dependencies are used? Preferably without too many pipes through `cut` and `tr`...
(currently I'm trying `port info --line --depends_lib foo | tr \, \\n | cut -d: -f2`)
There are plenty of ways. {{{ % port info --line --depends_build fish | tr ',' '\n' | awk -F ':' '{ print $NF; }' }}}
Thanks; I guess I'll use this for now, but it'd still be a lot easier if there were a pseudo-portname that I could use instead of having to know `awk`... -- Ticket URL: <https://trac.macports.org/ticket/38381#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X