Have you tried actually downloading from the nvidia-driver port (make fetch) ?
If fetching from the port is not possible, does the source code archive [1] download from the China nVIDIA website not work either?
It should be enough when the archive is placed under /usr/ports/distfiles to satisfy the build conditions.
[1] NVIDIA-FreeBSD-x86_64-570.144.tar.xz
Dear t-daemon :
morning. thanks for your help . now i have try ports , but get error in below
root@work2:/usr/ports/x11/nvidia-driver-470 # make install clean
===> Patching for nvidia-driver-470-470.161.03_1
===> nvidia-driver-470-470.161.03_1 depends on executable: gsed - not found
===> gsed-4.9 depends on file: /usr/local/bin/makeinfo - not found
===> texinfo-7.1_2,1 depends on executable: help2man - not found
===> texinfo-7.1_2,1 depends on executable: help2man - not found
*** Error code 1
Stop.
make[5]: stopped in /usr/ports/print/texinfo
*** Error code 1
Stop.
make[4]: stopped in /usr/ports/print/texinfo
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/textproc/gsed
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/textproc/gsed
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/x11/nvidia-driver-470
*** Error code 1
Stop.
make: stopped in /usr/ports/x11/nvidia-driver-470
root@work2:/usr/ports/x11/nvidia-driver-470 #
then, i have download driver from nvidia . below was the error. .
cd NVIDIA-FreeBSD-x86_64-570.144
root@work2:/home/game/document/NVIDIA-FreeBSD-x86_64-570.144 # ls
Makefile mk scripts
NVIDIA_Changelog nvidia_icd.json src
doc nvidia_layers.json x11
firmware nvml
lib obj
root@work2:/home/game/document/NVIDIA-FreeBSD-x86_64-570.144 # make install
===> src (install)
===> src/nvidia (install)
cc -O2 -pipe -DNV_VERSION_STRING=\"570.144\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /home/game/document/NVIDIA-FreeBSD-x86_64-570.144/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia_acpi.c -o nvidia_acpi.o
<built-in>:1:10: fatal error: '/home/game/document/NVIDIA-FreeBSD-x86_64-570.144/src/nvidia/opt_global.h' file not found
1 | #include "/home/game/document/NVIDIA-FreeBSD-x86_64-570.144/src/nvidia/opt_global.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** Error code 1
Stop.
make[2]: stopped in /home/game/document/NVIDIA-FreeBSD-x86_64-570.144/src/nvidia
*** Error code 1
Stop.
make[1]: stopped in /home/game/document/NVIDIA-FreeBSD-x86_64-570.144/src
*** Error code 1
Stop.
make: stopped in /home/game/document/NVIDIA-FreeBSD-x86_64-570.144
root@work2:/home/game/document/NVIDIA-FreeBSD-x86_64-570.144 #
double ways was failed. i don't know why . please help me. thanks.