Typo in online guide?

Ryan Schmidt ryandesign at macports.org
Tue Nov 4 10:20:48 PST 2014


On Nov 4, 2014, at 12:02 PM, Artur Szostak wrote:

> Is there a typo in the online guide:
> https://guide.macports.org/#reference.phases
> under section:
> 5.3.5. Extract Phase Keywords
> 
> It mentions ${workdir} when talking about use_zip, but that variable does not seem to be available in the post-extract phase. So is it valid during other phases or a typo in the documentation?

Thanks for letting us know. I've corrected the documentation:

https://trac.macports.org/changeset/127821

workdir does seem to be an actual variable mentioned in MacPorts base, but it's not one you'd need to use in a portfile these days. Perhaps that used to be different back when the documentation was written. This line dates back to the first revision of the new documentation written 7 years ago:

https://trac.macports.org/browser/trunk/doc-new/man/xml/portfile.7.xml?rev=29282#L1534






More information about the macports-users mailing list