PORTNAME= nvidia-drm-kmod PORTVERSION= ${NVIDIA_DISTVERSION} CATEGORIES= graphics kld MAINTAINER= ashafer@badland.io COMMENT= NVIDIA DRM Kernel Module WWW= https://www.nvidia.com/object/unix.html USES= metaport .include "${.CURDIR}/../../x11/nvidia-driver/Makefile.version" .include .if ${OPSYS} != FreeBSD IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality) .else . if ${OSVERSION} >= 1302000 && ${OSVERSION} < 1400097 RUN_DEPENDS+= ${KMODDIR}/nvidia-drm.ko:graphics/nvidia-drm-510-kmod . elif ${OSVERSION} >= 1400097 && (${ARCH} == i386 || ${ARCH} == aarch64) RUN_DEPENDS+= ${KMODDIR}/nvidia-drm.ko:graphics/nvidia-drm-510-kmod . elif ${OSVERSION} >= 1400508 RUN_DEPENDS+= ${KMODDIR}/nvidia-drm.ko:graphics/nvidia-drm-61-kmod . endif .endif .include