Created attachment 216852 [details]
If the NLS option is unset, the pkg install throws errors like:
pkg-static: Unable to access file /usr/ports/mail/phpmailer6/work/stage/usr/local/share/phpmailer/language/phpmailer.lang-af.php:No such file or directory
for all the language files.
The attached patch fixes the pkg-plist, making the install of language files conditional on the NLS option.
%%NLS%% cannot work because it is not defined in the Makefile. I can install it without problems with "pkg install".
if you think it is an mistake, open the pr again.