Getting a list of all portfiles

Ryan Schmidt ryandesign at macports.org
Thu Mar 22 22:41:26 UTC 2018


It used to be straightforward to get a list of all portfiles:

port file all

But ever since the introduction of subports, that list might now contain duplicates (one for each subport a port has). So now I've been running:

port file all|sort -u

which is a little more tedious. Is this the best way to do it or is there a shortcut?

Is there some MacPorts pseudoport like "all" but that means "all ports that are not subports"? Or, perhaps useful in other situations, a pseudoport that means "all ports that are subports"?




More information about the macports-dev mailing list