Portfile parsing

Artur Szostak aszostak at partner.eso.org
Wed Nov 26 05:12:46 PST 2014


Dear MacPorts developers,

I want to extract various information from Portfiles, such as names, versions, revisions, dependencies etc. I want to do so without writing another parser. Is there a reasonably stable API I could use? or, since Portfiles are partial Tcl scripts, what set of "package require" statements would I need to successfully parse the Portfile in tclsh?

Kind regards.

Artur


More information about the macports-dev mailing list