Literal text WWW in ports Makefile (Was: git: 4bb2e36e912e - main - sysutils/gol: New port: All-in-one log viewer in browser)
- Reply: George L. Yermulnik: "Re: Literal text WWW in ports Makefile (Was: git: 4bb2e36e912e - main - sysutils/gol: New port: All-in-one log viewer in browser)"
- Reply: Zsolt Udvari : "Re: Literal text WWW in ports Makefile (Was: git: 4bb2e36e912e - main - sysutils/gol: New port: All-in-one log viewer in browser)"
- Reply: Jesús_Daniel_Colmenares_Oviedo : "Re: Literal text WWW in ports Makefile (Was: git: 4bb2e36e912e - main - sysutils/gol: New port: All-in-one log viewer in browser)"
- Reply: Daniel Engberg : "Re: Literal text WWW in ports Makefile (Was: git: 4bb2e36e912e - main - sysutils/gol: New port: All-in-one log viewer in browser)"
- Reply: Rene Ladan : "Re: Literal text WWW in ports Makefile (Was: git: 4bb2e36e912e - main - sysutils/gol: New port: All-in-one log viewer in browser)"
- In reply to: DtxdF_a_disroot.org: "Re: git: 4bb2e36e912e - main - sysutils/gol: New port: All-in-one log viewer in browser"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Nov 2025 18:16:30 UTC
On Sat, 15 Nov 2025 12:55:03 -0400 DtxdF@disroot.org wrote: > > Can we avoid variables in WWW for easier reading when taking a look at > > Makefiles? I remember that this subject was discussed some time ago... > > From rene@, when we talked about this a while ago: > > > Well, WWW is variable parsed by make, not by humans, so referencing The whole Makefile is parsed by the make, however we do have style rules to ease reading Makefiles by contributes and committers. > > PORTNAME is legal here. It *was* a literal text back when it was > > part of pkg-descr. WWW also was a literal text when it just migrated to Makefile. Why it should be obfuscated now? No difference for the make, but less convenient for humans: plain text url can be opened from the editor without running the make. I propose to supplement Porter's Handbook with a recommendation to avoid variables in WWW when it is explicitly set in the Makefile. Shall we put it to the vote? :) Cheers, Max