Re: Literal text WWW in ports Makefile
Date: Mon, 17 Nov 2025 17:12:00 UTC
On 2025-11-15 12:21, Max Brazhnikov wrote: > On Sat, 15 Nov 2025 19:43:26 +0100 Zsolt Udvari wrote: >> On Sat, Nov 15, 2025 at 09:16:30PM +0300, Max Brazhnikov wrote: >> > 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. >> >> The github, gitlab and pear set a WWW (if it isn't defined in Makefile) so >> you can't open the url without running make. If you want see plain text >> url should remove these definitions from Mk/bsd.sites.mk and > > I'm ok with this, framework may set WWW for ports, and ports can redefine it > if needed. But if WWW is explicitly set in the Makefile it should be plain > url. If either is possible. Why should it not be what is easiest or most efficient for the Maintainer/Developer at the time? If you're working on the port. You *already* know what the port name is. If you're reading about the port. You already know the name of the port. If it's more efficient for the MAINTAINER to use the PORTNAME variable. Then so be it. This is the intent of the ports system/framework -- efficiency. > > Max