It seems that automatic inclusion of files named Makefile.${ARCH}, Makefile.${OPSYS}, Makefile.${ARCH}-${OPSYS}, Makefile.inc, Makefile.local done by bsd.ports.mk (lines 1235-1265) is not documented in the handbook.
https://reviews.freebsd.org/D41625
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/doc/commit/?id=d8f0cdf17224ec08a5dff4431d41070755a5ce4f commit d8f0cdf17224ec08a5dff4431d41070755a5ce4f Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2023-08-28 10:24:53 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-09-01 07:55:45 +0000 [phb]: Document inclusion of Makefile.* files Document the automatic inclusion of several Makefile.* files. Also mention idiomatic splitting of pkg-plist.* files. PR: 244742 Reported by: salvadore@ Reviewed by: carlavilla@, ceri@, grahamperrin Differential Revision: https://reviews.freebsd.org/D41625 .../en/books/porters-handbook/special/_index.adoc | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+)
Fixed, Thanks!