It's not exactly what's expected of a ✨ sparkly shellscript princess ✨ , but last night I wrote about patching my window manager, wmx, within the FreeBSD ports tree: https://thornton2.com/unix/freebsd/patch-wmx.html
I hadn't found any decent port patching instructions for non-porter sysadmins, so I wrote my own. The wmx author uses an "edit source & recompile" paradigm for configuration, & I only want to edit once, so off to Port Patchville I go! (This also lets me take the patch to another PC without new editing.)