Writing a #Portfile for #MacPorts, I touched the basics of #Tcl. This programming language appeared to be elegant, with clear and catchy syntax.

It looks like a very nice choice for #scripting. Now I'm not surprised that Sqlite was born as Tcl extension initially. And surprised Tcl isn't widely used in #DevOps, for instance. I'm quite sure this #language is suitable for a number of tasks in today's #programming, so pls share if you have real life example(s).

Any #Docker #Desktop for #macOS users out there: How easy is it to create a new #container of macOS 12.x? I want to do #macports dev but don't want to dirty my own /opt dir while I learn the local #Portfile methods, etc.

As I look a bit deeper into creating a #MacPorts #Portfile for #snac2 it appears as if it is recommended to *not* hardcode /opt/local here:

https://trac.macports.org/wiki/PortfileRecipes#hardcode_opt_local

Also, apparently there is a #makefile #PortGroup?

You would think that after a year of toiling with this stuff, I would have it better figured out, but nope: learning something new each time!

Here's my prototype Portfile for snac2:

https://www.codedump.xyz/properties/Y4VV4xiJHqQWMQ86

Still needs improvement!

(sorry @grunfink I will look at this more later)

PortfileRecipes – MacPorts