Lines 14-22
Link Here
|
14 |
# ``make DISTVERSION=xxx.yy.zz -DNO_CHECKSUM'' should typically work. |
14 |
# ``make DISTVERSION=xxx.yy.zz -DNO_CHECKSUM'' should typically work. |
15 |
|
15 |
|
16 |
PORTNAME?= nvidia-driver |
16 |
PORTNAME?= nvidia-driver |
17 |
DISTVERSION?= 460.80 |
17 |
DISTVERSION?= 460.84 |
18 |
# Always try to set PORTREVISION as it can be overridden by the slave ports |
18 |
# Always try to set PORTREVISION as it can be overridden by the slave ports |
19 |
PORTREVISION?= 1 |
19 |
PORTREVISION?= 0 |
20 |
CATEGORIES= x11 |
20 |
CATEGORIES= x11 |
21 |
MASTER_SITES= NVIDIA/XFree86/FreeBSD-${ARCH_SUFX}/${DISTVERSION} |
21 |
MASTER_SITES= NVIDIA/XFree86/FreeBSD-${ARCH_SUFX}/${DISTVERSION} |
22 |
DISTNAME= NVIDIA-FreeBSD-${ARCH_SUFX}-${DISTVERSION} |
22 |
DISTNAME= NVIDIA-FreeBSD-${ARCH_SUFX}-${DISTVERSION} |
Lines 36-41
BUILD_DEPENDS= pkg-config:devel/pkgconf libglvnd>0:graphics/libglvnd
Link Here
|
36 |
.endif |
36 |
.endif |
37 |
|
37 |
|
38 |
USES= kmod uidfix xorg |
38 |
USES= kmod uidfix xorg |
|
|
39 |
.if ${NVVERSION} >= 470.04201 |
40 |
USES+= tar:xz |
41 |
.endif |
39 |
USE_XORG= x11 xorg-server xext |
42 |
USE_XORG= x11 xorg-server xext |
40 |
USE_LDCONFIG= yes |
43 |
USE_LDCONFIG= yes |
41 |
|
44 |
|
Lines 53-59
SUB_FILES+= pkg-deinstall pkg-install
Link Here
|
53 |
.endif |
56 |
.endif |
54 |
SUB_PATCHES= extra-patch-src-Makefile \ |
57 |
SUB_PATCHES= extra-patch-src-Makefile \ |
55 |
extra-patch-src-nv-freebsd.h \ |
58 |
extra-patch-src-nv-freebsd.h \ |
56 |
extra-patch-src-nv-misc.h \ |
|
|
57 |
extra-patch-src-nvidia_dev.c \ |
59 |
extra-patch-src-nvidia_dev.c \ |
58 |
extra-patch-src-nvidia_pci.c |
60 |
extra-patch-src-nvidia_pci.c |
59 |
DOCSDIR= ${PREFIX}/share/doc/NVIDIA_GLX-1.0 |
61 |
DOCSDIR= ${PREFIX}/share/doc/NVIDIA_GLX-1.0 |
Lines 85-90
EXTRA_PATCHES+= ${FILESDIR}/460-patch-lib-libGLX_nvidia-Makefile \
Link Here
|
85 |
${FILESDIR}/460-patch-src-nvidia-nvidia_linux.c \ |
87 |
${FILESDIR}/460-patch-src-nvidia-nvidia_linux.c \ |
86 |
${FILESDIR}/460-patch-src_nvidia-modeset_nvidia-modeset-freebsd.c |
88 |
${FILESDIR}/460-patch-src_nvidia-modeset_nvidia-modeset-freebsd.c |
87 |
.endif |
89 |
.endif |
|
|
90 |
.if ${NVVERSION} < 470.04201 |
91 |
SUB_PATCHES+= extra-patch-src-nv-misc.h |
92 |
.endif |
88 |
|
93 |
|
89 |
OPTIONS_DEFINE= ACPI_PM LINUX WBINVD DOCS |
94 |
OPTIONS_DEFINE= ACPI_PM LINUX WBINVD DOCS |
90 |
OPTIONS_DEFINE_i386= PAE |
95 |
OPTIONS_DEFINE_i386= PAE |