Hi, I think NGINX_DIR may be missing from SUBST_VARS. Looking at the Makefile I see something like this:
$ grep SUBST_VARS /usr/ports/www/nginx/Makefile SUBST_VARS= NGINX_DIR SUBST_VARS= FLAVOR_COMMA If you have nginx installed have a look at output of ls -lh /usr/local/ or at output of pkglocate NGINX_DIR -- best regards q#