Lines 1-502
Link Here
|
1 |
PORTNAME= nvidia-libs |
1 |
PORTNAME= nvidia-libs |
2 |
DISTVERSION?= 525.116.03 |
2 |
DISTVERSION?= 535.54.03 |
3 |
# Always try to set PORTREVISION as it can be overridden by the slave ports |
3 |
# Always try to set PORTREVISION as it can be overridden by the slave ports |
4 |
PORTREVISION?= 0 |
4 |
PORTREVISION?= 0 |
5 |
CATEGORIES= x11 linux |
5 |
CATEGORIES= x11 linux |
6 |
MASTER_SITES= NVIDIA/XFree86/Linux-${ARCH_SUFX}/${DISTVERSION}/ |
6 |
MASTER_SITES= NVIDIA/XFree86/Linux-${ARCH_SUFX}/${DISTVERSION}/ |
7 |
DISTNAME= NVIDIA-Linux-${ARCH_SUFX}-${DISTVERSION} |
7 |
DISTNAME= NVIDIA-Linux-${ARCH_SUFX}-${DISTVERSION} |
8 |
EXTRACT_SUFX= .run |
8 |
EXTRACT_SUFX= .run |
9 |
PKGNAMEPREFIX= linux- |
9 |
PKGNAMEPREFIX= linux- |
10 |
|
10 |
|
11 |
MAINTAINER= x11@FreeBSD.org |
11 |
MAINTAINER= x11@FreeBSD.org |
12 |
COMMENT= NVidia graphics libraries and programs (Linux version) |
12 |
COMMENT= NVidia graphics libraries and programs (Linux version) |
13 |
WWW= https://www.nvidia.com/object/unix.html |
13 |
WWW= https://www.nvidia.com/object/unix.html |
14 |
|
14 |
|
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
16 |
.include "${.CURDIR}/../nvidia-driver/Makefile.common" |
16 |
.include "${.CURDIR}/../nvidia-driver/Makefile.common" |
17 |
|
17 |
|
18 |
.if ${DISTVERSION:R} > 390 |
18 |
.if ${DISTVERSION:R} > 390 |
19 |
PORTSCOUT= limit:\.\d+$$ # ignore *-no-compat32 distfiles |
19 |
PORTSCOUT= limit:\.\d+$$ # ignore *-no-compat32 distfiles |
20 |
.else |
20 |
.else |
21 |
PORTSCOUT= limit:^${DISTVERSION:R}\.\d+$$ |
21 |
PORTSCOUT= limit:^${DISTVERSION:R}\.\d+$$ |
22 |
.endif |
22 |
.endif |
23 |
|
23 |
|
24 |
USES= linux |
24 |
USES= linux |
25 |
USE_LINUX= xorglibs |
25 |
USE_LINUX= xorglibs |
26 |
USE_LDCONFIG= yes |
26 |
USE_LDCONFIG= yes |
27 |
NO_BUILD= yes |
27 |
NO_BUILD= yes |
28 |
|
28 |
|
29 |
PLIST_RE= # empty |
29 |
PLIST_RE= # empty |
30 |
|
30 |
|
31 |
LINUX_LIBDIR= /usr/lib${ARCH:S/i386//:S/amd//} |
31 |
LINUX_LIBDIR= /usr/lib${ARCH:S/i386//:S/amd//} |
32 |
|
32 |
|
33 |
LINUX_LIBS= libcuda.so.${PORTVERSION} \ |
33 |
LINUX_LIBS= libcuda.so.${PORTVERSION} \ |
34 |
libnvcuvid.so.${PORTVERSION} \ |
34 |
libnvcuvid.so.${PORTVERSION} \ |
35 |
libnvidia-cfg.so.${PORTVERSION} \ |
35 |
libnvidia-cfg.so.${PORTVERSION} \ |
36 |
libnvidia-compiler.so.${PORTVERSION} \ |
|
|
37 |
libnvidia-glcore.so.${PORTVERSION} \ |
36 |
libnvidia-glcore.so.${PORTVERSION} \ |
38 |
libnvidia-ml.so.${PORTVERSION} \ |
37 |
libnvidia-ml.so.${PORTVERSION} \ |
39 |
libnvidia-opencl.so.${PORTVERSION} \ |
38 |
libnvidia-opencl.so.${PORTVERSION} \ |
40 |
libnvidia-tls.so.${PORTVERSION} \ |
39 |
libnvidia-tls.so.${PORTVERSION} \ |
41 |
libvdpau_nvidia.so.${PORTVERSION} |
40 |
libvdpau_nvidia.so.${PORTVERSION} |
42 |
LINUX_LINKS= libcuda.so.${PORTVERSION} libcuda.so.1 \ |
41 |
LINUX_LINKS= libcuda.so.${PORTVERSION} libcuda.so.1 \ |
43 |
libcuda.so.${PORTVERSION} libcuda.so \ |
42 |
libcuda.so.${PORTVERSION} libcuda.so \ |
44 |
libnvcuvid.so.${PORTVERSION} libnvcuvid.so.1 \ |
43 |
libnvcuvid.so.${PORTVERSION} libnvcuvid.so.1 \ |
45 |
libnvcuvid.so.${PORTVERSION} libnvcuvid.so \ |
44 |
libnvcuvid.so.${PORTVERSION} libnvcuvid.so \ |
46 |
libnvidia-cfg.so.${PORTVERSION} libnvidia-cfg.so.1 \ |
45 |
libnvidia-cfg.so.${PORTVERSION} libnvidia-cfg.so.1 \ |
47 |
libnvidia-cfg.so.${PORTVERSION} libnvidia-cfg.so \ |
46 |
libnvidia-cfg.so.${PORTVERSION} libnvidia-cfg.so \ |
48 |
libnvidia-ml.so.${PORTVERSION} libnvidia-ml.so.1 \ |
47 |
libnvidia-ml.so.${PORTVERSION} libnvidia-ml.so.1 \ |
49 |
libnvidia-ml.so.${PORTVERSION} libnvidia-ml.so \ |
48 |
libnvidia-ml.so.${PORTVERSION} libnvidia-ml.so \ |
50 |
libnvidia-opencl.so.${PORTVERSION} libnvidia-opencl.so.1 \ |
49 |
libnvidia-opencl.so.${PORTVERSION} libnvidia-opencl.so.1 \ |
51 |
libvdpau_nvidia.so.${PORTVERSION} vdpau/libvdpau_nvidia.so.1 |
50 |
libvdpau_nvidia.so.${PORTVERSION} vdpau/libvdpau_nvidia.so.1 |
52 |
LINUX32_LIBS= libcuda.so.${PORTVERSION} \ |
51 |
LINUX32_LIBS= libcuda.so.${PORTVERSION} \ |
53 |
libnvidia-compiler.so.${PORTVERSION} \ |
|
|
54 |
libnvidia-glcore.so.${PORTVERSION} \ |
52 |
libnvidia-glcore.so.${PORTVERSION} \ |
55 |
libnvidia-ml.so.${PORTVERSION} \ |
53 |
libnvidia-ml.so.${PORTVERSION} \ |
56 |
libnvidia-opencl.so.${PORTVERSION} \ |
54 |
libnvidia-opencl.so.${PORTVERSION} \ |
57 |
libnvidia-tls.so.${PORTVERSION} \ |
55 |
libnvidia-tls.so.${PORTVERSION} \ |
58 |
libvdpau_nvidia.so.${PORTVERSION} |
56 |
libvdpau_nvidia.so.${PORTVERSION} |
59 |
.if ${NVVERSION} < 415.013 |
57 |
.if ${NVVERSION} < 415.013 |
60 |
LINUX_LIBS+= tls/libnvidia-tls.so.${PORTVERSION} |
58 |
LINUX_LIBS+= tls/libnvidia-tls.so.${PORTVERSION} |
61 |
LINUX32_LIBS+= tls/libnvidia-tls.so.${PORTVERSION} |
59 |
LINUX32_LIBS+= tls/libnvidia-tls.so.${PORTVERSION} |
62 |
.endif |
60 |
.endif |
63 |
LINUX32_LINKS= libcuda.so.${PORTVERSION} libcuda.so.1 \ |
61 |
LINUX32_LINKS= libcuda.so.${PORTVERSION} libcuda.so.1 \ |
64 |
libcuda.so.${PORTVERSION} libcuda.so \ |
62 |
libcuda.so.${PORTVERSION} libcuda.so \ |
65 |
libnvidia-ml.so.${PORTVERSION} libnvidia-ml.so.1 \ |
63 |
libnvidia-ml.so.${PORTVERSION} libnvidia-ml.so.1 \ |
66 |
libnvidia-ml.so.${PORTVERSION} libnvidia-ml.so \ |
64 |
libnvidia-ml.so.${PORTVERSION} libnvidia-ml.so \ |
67 |
libnvidia-opencl.so.${PORTVERSION} libnvidia-opencl.so.1 \ |
65 |
libnvidia-opencl.so.${PORTVERSION} libnvidia-opencl.so.1 \ |
68 |
libvdpau_nvidia.so.${PORTVERSION} vdpau/libvdpau_nvidia.so.1 |
66 |
libvdpau_nvidia.so.${PORTVERSION} vdpau/libvdpau_nvidia.so.1 |
69 |
LINUX_PROGS= nvidia-debugdump nvidia-settings nvidia-smi nvidia-xconfig |
67 |
LINUX_PROGS= nvidia-debugdump nvidia-settings nvidia-smi nvidia-xconfig |
70 |
LINUX_MANS= nvidia-settings nvidia-smi nvidia-xconfig |
68 |
LINUX_MANS= nvidia-settings nvidia-smi nvidia-xconfig |
71 |
LINUX_DATA= nvidia.icd /etc/OpenCL/vendors |
69 |
LINUX_DATA= nvidia.icd /etc/OpenCL/vendors |
72 |
.if ${NVVERSION} >= 375.010 |
70 |
.if ${NVVERSION} >= 375.010 |
73 |
LINUX_DATA+= 10_nvidia.json /usr/share/glvnd/egl_vendor.d |
71 |
LINUX_DATA+= 10_nvidia.json /usr/share/glvnd/egl_vendor.d |
74 |
.else |
72 |
.else |
75 |
PLIST_RE+= '\,${LINUXBASE}/usr/share/glvnd,d' |
73 |
PLIST_RE+= '\,${LINUXBASE}/usr/share/glvnd,d' |
76 |
.endif |
74 |
.endif |
77 |
.if ${NVVERSION} >= 378.009 |
75 |
.if ${NVVERSION} >= 378.009 |
78 |
LINUX_DATA+= 10_nvidia_wayland.json /usr/share/egl/egl_external_platform.d |
76 |
LINUX_DATA+= 10_nvidia_wayland.json /usr/share/egl/egl_external_platform.d |
79 |
.else |
77 |
.else |
80 |
PLIST_RE+= '\,${LINUXBASE}/usr/share/egl,d' |
78 |
PLIST_RE+= '\,${LINUXBASE}/usr/share/egl,d' |
81 |
.endif |
79 |
.endif |
82 |
.if ${NVVERSION} >= 361.016 |
80 |
.if ${NVVERSION} >= 361.016 |
83 |
LINUX_LIBS+= libEGL_nvidia.so.${PORTVERSION} |
81 |
LINUX_LIBS+= libEGL_nvidia.so.${PORTVERSION} |
84 |
LINUX_LINKS+= libEGL_nvidia.so.${PORTVERSION} libEGL_nvidia.so.0 |
82 |
LINUX_LINKS+= libEGL_nvidia.so.${PORTVERSION} libEGL_nvidia.so.0 |
85 |
LINUX32_LIBS+= libEGL_nvidia.so.${PORTVERSION} |
83 |
LINUX32_LIBS+= libEGL_nvidia.so.${PORTVERSION} |
86 |
LINUX32_LINKS+= libEGL_nvidia.so.${PORTVERSION} libEGL_nvidia.so.0 |
84 |
LINUX32_LINKS+= libEGL_nvidia.so.${PORTVERSION} libEGL_nvidia.so.0 |
87 |
.elif ${NVVERSION} >= 355.006 |
85 |
.elif ${NVVERSION} >= 355.006 |
88 |
LINUX_LIBS+= libEGL_nvidia.so.0 |
86 |
LINUX_LIBS+= libEGL_nvidia.so.0 |
89 |
PLIST_RE+= '\,${LINUXBASE}.*libEGL_nvidia\.so\.${PORTVERSION},d' |
87 |
PLIST_RE+= '\,${LINUXBASE}.*libEGL_nvidia\.so\.${PORTVERSION},d' |
90 |
.else |
88 |
.else |
91 |
PLIST_RE+= '\,${LINUXBASE}.*libEGL_nvidia\.so,d' |
89 |
PLIST_RE+= '\,${LINUXBASE}.*libEGL_nvidia\.so,d' |
92 |
.endif |
90 |
.endif |
93 |
.if ${NVVERSION} >= 361.016 && ${NVVERSION} < 450.051 |
91 |
.if ${NVVERSION} >= 361.016 && ${NVVERSION} < 450.051 |
94 |
LINUX_LIBS+= libnvidia-fatbinaryloader.so.${PORTVERSION} |
92 |
LINUX_LIBS+= libnvidia-fatbinaryloader.so.${PORTVERSION} |
95 |
LINUX32_LIBS+= libnvidia-fatbinaryloader.so.${PORTVERSION} |
93 |
LINUX32_LIBS+= libnvidia-fatbinaryloader.so.${PORTVERSION} |
96 |
.else |
94 |
.else |
97 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-fatbinaryloader\.so,d' |
95 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-fatbinaryloader\.so,d' |
98 |
.endif |
96 |
.endif |
99 |
.if ${NVVERSION} >= 361.016 |
97 |
.if ${NVVERSION} >= 361.016 |
100 |
LINUX_LIBS+= libGLESv1_CM_nvidia.so.${PORTVERSION} \ |
98 |
LINUX_LIBS+= libGLESv1_CM_nvidia.so.${PORTVERSION} \ |
101 |
libGLESv2_nvidia.so.${PORTVERSION} \ |
99 |
libGLESv2_nvidia.so.${PORTVERSION} \ |
102 |
libGLX_nvidia.so.${PORTVERSION} \ |
100 |
libGLX_nvidia.so.${PORTVERSION} \ |
103 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} |
101 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} |
104 |
LINUX_LINKS+= libGLESv1_CM_nvidia.so.${PORTVERSION} libGLESv1_CM_nvidia.so.1 \ |
102 |
LINUX_LINKS+= libGLESv1_CM_nvidia.so.${PORTVERSION} libGLESv1_CM_nvidia.so.1 \ |
105 |
libGLESv2_nvidia.so.${PORTVERSION} libGLESv2_nvidia.so.2 \ |
103 |
libGLESv2_nvidia.so.${PORTVERSION} libGLESv2_nvidia.so.2 \ |
106 |
libGLX_nvidia.so.${PORTVERSION} libGLX_nvidia.so.0 \ |
104 |
libGLX_nvidia.so.${PORTVERSION} libGLX_nvidia.so.0 \ |
107 |
libGLX_nvidia.so.${PORTVERSION} libGLX_indirect.so.0 \ |
105 |
libGLX_nvidia.so.${PORTVERSION} libGLX_indirect.so.0 \ |
108 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} libnvidia-ptxjitcompiler.so.1 \ |
106 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} libnvidia-ptxjitcompiler.so.1 \ |
109 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} libnvidia-ptxjitcompiler.so |
107 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} libnvidia-ptxjitcompiler.so |
110 |
LINUX32_LIBS+= libGLESv1_CM_nvidia.so.${PORTVERSION} \ |
108 |
LINUX32_LIBS+= libGLESv1_CM_nvidia.so.${PORTVERSION} \ |
111 |
libGLESv2_nvidia.so.${PORTVERSION} \ |
109 |
libGLESv2_nvidia.so.${PORTVERSION} \ |
112 |
libGLX_nvidia.so.${PORTVERSION} \ |
110 |
libGLX_nvidia.so.${PORTVERSION} \ |
113 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} |
111 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} |
114 |
LINUX32_LINKS+= libGLESv1_CM_nvidia.so.${PORTVERSION} libGLESv1_CM_nvidia.so.1 \ |
112 |
LINUX32_LINKS+= libGLESv1_CM_nvidia.so.${PORTVERSION} libGLESv1_CM_nvidia.so.1 \ |
115 |
libGLESv2_nvidia.so.${PORTVERSION} libGLESv2_nvidia.so.2 \ |
113 |
libGLESv2_nvidia.so.${PORTVERSION} libGLESv2_nvidia.so.2 \ |
116 |
libGLX_nvidia.so.${PORTVERSION} libGLX_nvidia.so.0 \ |
114 |
libGLX_nvidia.so.${PORTVERSION} libGLX_nvidia.so.0 \ |
117 |
libGLX_nvidia.so.${PORTVERSION} libGLX_indirect.so.0 \ |
115 |
libGLX_nvidia.so.${PORTVERSION} libGLX_indirect.so.0 \ |
118 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} libnvidia-ptxjitcompiler.so.1 \ |
116 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} libnvidia-ptxjitcompiler.so.1 \ |
119 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} libnvidia-ptxjitcompiler.so |
117 |
libnvidia-ptxjitcompiler.so.${PORTVERSION} libnvidia-ptxjitcompiler.so |
120 |
.else |
118 |
.else |
121 |
PLIST_RE+= '\,${LINUXBASE}.*libGLESv(1_CM|2)_nvidia\.so,d' \ |
119 |
PLIST_RE+= '\,${LINUXBASE}.*libGLESv(1_CM|2)_nvidia\.so,d' \ |
122 |
'\,${LINUXBASE}.*libGLX_(nvidia|indirect)\.so,d' \ |
120 |
'\,${LINUXBASE}.*libGLX_(nvidia|indirect)\.so,d' \ |
123 |
'\,${LINUXBASE}.*libnvidia-ptxjitcompiler\.so,d' |
121 |
'\,${LINUXBASE}.*libnvidia-ptxjitcompiler\.so,d' |
124 |
.endif |
122 |
.endif |
125 |
.if ${NVVERSION} >= 525.08902 # 525.89.02 |
123 |
.if ${NVVERSION} >= 535.05403 # 535.54.03 |
126 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.10 |
124 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-compiler\.so,d' |
127 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.10 libnvidia-egl-wayland.so.1 |
125 |
.else |
128 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.10/' |
126 |
LINUX_LIBS+= libnvidia-compiler.so.${PORTVERSION} |
|
|
127 |
LINUX32_LIBS+= libnvidia-compiler.so.${PORTVERSION} |
128 |
.endif |
129 |
.if ${NVVERSION} >= 535.05403 # 535.54.03 |
130 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.11 |
131 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.11 libnvidia-egl-wayland.so.1 |
132 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.11/' |
129 |
.elif ${NVVERSION} >= 495.02905 # 495.29.05 |
133 |
.elif ${NVVERSION} >= 495.02905 # 495.29.05 |
130 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.9 |
134 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.9 |
131 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.9 libnvidia-egl-wayland.so.1 |
135 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.9 libnvidia-egl-wayland.so.1 |
132 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.9/' |
136 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.9/' |
133 |
.elif ${NVVERSION} >= 470.04201 # 470.42.01 |
137 |
.elif ${NVVERSION} >= 470.04201 # 470.42.01 |
134 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.7 |
138 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.7 |
135 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.7 libnvidia-egl-wayland.so.1 |
139 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.7 libnvidia-egl-wayland.so.1 |
136 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.7/' |
140 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.7/' |
137 |
.elif ${NVVERSION} >= 460.02704 # 460.27.04 |
141 |
.elif ${NVVERSION} >= 460.02704 # 460.27.04 |
138 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.5 |
142 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.5 |
139 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.5 libnvidia-egl-wayland.so.1 |
143 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.5 libnvidia-egl-wayland.so.1 |
140 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.5/' |
144 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.5/' |
141 |
.elif ${NVVERSION} >= 440.026 |
145 |
.elif ${NVVERSION} >= 440.026 |
142 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.4 |
146 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.4 |
143 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.4 libnvidia-egl-wayland.so.1 |
147 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.4 libnvidia-egl-wayland.so.1 |
144 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.4/' |
148 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.4/' |
145 |
.elif ${NVVERSION} >= 435.017 |
149 |
.elif ${NVVERSION} >= 435.017 |
146 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.3 |
150 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.3 |
147 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.3 libnvidia-egl-wayland.so.1 |
151 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.3 libnvidia-egl-wayland.so.1 |
148 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.3/' |
152 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.3/' |
149 |
.elif ${NVVERSION} >= 418.030 |
153 |
.elif ${NVVERSION} >= 418.030 |
150 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.2 |
154 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.2 |
151 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.2 libnvidia-egl-wayland.so.1 |
155 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.2 libnvidia-egl-wayland.so.1 |
152 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.2/' |
156 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.2/' |
153 |
.elif ${NVVERSION} >= 410.057 |
157 |
.elif ${NVVERSION} >= 410.057 |
154 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.0 |
158 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.0 |
155 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.0 libnvidia-egl-wayland.so.1 |
159 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.0 libnvidia-egl-wayland.so.1 |
156 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.0/' |
160 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.0/' |
157 |
.elif ${NVVERSION} >= 396.018 |
161 |
.elif ${NVVERSION} >= 396.018 |
158 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.0.3 |
162 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.0.3 |
159 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.0.3 libnvidia-egl-wayland.so.1 |
163 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.0.3 libnvidia-egl-wayland.so.1 |
160 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.0.3/' |
164 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.0.3/' |
161 |
.elif ${NVVERSION} >= 387.012 |
165 |
.elif ${NVVERSION} >= 387.012 |
162 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.0.2 |
166 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.0.2 |
163 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.0.2 libnvidia-egl-wayland.so.1 |
167 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.0.2 libnvidia-egl-wayland.so.1 |
164 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.0.2/' |
168 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.0.2/' |
165 |
.elif ${NVVERSION} >= 378.013 |
169 |
.elif ${NVVERSION} >= 378.013 |
166 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.0.1 |
170 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.0.1 |
167 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.0.1 libnvidia-egl-wayland.so.1 |
171 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.0.1 libnvidia-egl-wayland.so.1 |
168 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.0.1/' |
172 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.0.1/' |
169 |
.elif ${NVVERSION} >= 378.009 |
173 |
.elif ${NVVERSION} >= 378.009 |
170 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.0.0 |
174 |
LINUX_LIBS+= libnvidia-egl-wayland.so.1.0.0 |
171 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.0.0 libnvidia-egl-wayland.so.1 |
175 |
LINUX_LINKS+= libnvidia-egl-wayland.so.1.0.0 libnvidia-egl-wayland.so.1 |
172 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.0.0/' |
176 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.0.0/' |
173 |
.elif ${NVVERSION} >= 364.012 |
177 |
.elif ${NVVERSION} >= 364.012 |
174 |
LINUX_LIBS+= libnvidia-egl-wayland.so.${PORTVERSION} |
178 |
LINUX_LIBS+= libnvidia-egl-wayland.so.${PORTVERSION} |
175 |
LINUX_LINKS+= libnvidia-egl-wayland.so.${PORTVERSION} libnvidia-egl-wayland.so.1 |
179 |
LINUX_LINKS+= libnvidia-egl-wayland.so.${PORTVERSION} libnvidia-egl-wayland.so.1 |
176 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.${PORTVERSION}/' |
180 |
PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.${PORTVERSION}/' |
177 |
.else |
181 |
.else |
178 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-egl-wayland\.so,d' |
182 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-egl-wayland\.so,d' |
179 |
.endif |
183 |
.endif |
180 |
.if ${NVVERSION} >= 331.013 && ${NVVERSION} < 495.02905 |
184 |
.if ${NVVERSION} >= 331.013 && ${NVVERSION} < 495.02905 |
181 |
LINUX_LIBS+= libnvidia-ifr.so.${PORTVERSION} |
185 |
LINUX_LIBS+= libnvidia-ifr.so.${PORTVERSION} |
182 |
LINUX_LINKS+= libnvidia-ifr.so.${PORTVERSION} libnvidia-ifr.so.1 \ |
186 |
LINUX_LINKS+= libnvidia-ifr.so.${PORTVERSION} libnvidia-ifr.so.1 \ |
183 |
libnvidia-ifr.so.${PORTVERSION} libnvidia-ifr.so |
187 |
libnvidia-ifr.so.${PORTVERSION} libnvidia-ifr.so |
184 |
LINUX32_LIBS+= libnvidia-ifr.so.${PORTVERSION} |
188 |
LINUX32_LIBS+= libnvidia-ifr.so.${PORTVERSION} |
185 |
LINUX32_LINKS+= libnvidia-ifr.so.${PORTVERSION} libnvidia-ifr.so.1 \ |
189 |
LINUX32_LINKS+= libnvidia-ifr.so.${PORTVERSION} libnvidia-ifr.so.1 \ |
186 |
libnvidia-ifr.so.${PORTVERSION} libnvidia-ifr.so |
190 |
libnvidia-ifr.so.${PORTVERSION} libnvidia-ifr.so |
187 |
.else |
191 |
.else |
188 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-ifr,d' |
192 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-ifr,d' |
189 |
.endif |
193 |
.endif |
190 |
.if ${NVVERSION} >= 331.013 |
194 |
.if ${NVVERSION} >= 331.013 |
191 |
LINUX_LIBS+= libnvidia-eglcore.so.${PORTVERSION} \ |
195 |
LINUX_LIBS+= libnvidia-eglcore.so.${PORTVERSION} \ |
192 |
libnvidia-fbc.so.${PORTVERSION} \ |
196 |
libnvidia-fbc.so.${PORTVERSION} \ |
193 |
libnvidia-glsi.so.${PORTVERSION} |
197 |
libnvidia-glsi.so.${PORTVERSION} |
194 |
LINUX_LINKS+= libnvidia-fbc.so.${PORTVERSION} libnvidia-fbc.so.1 \ |
198 |
LINUX_LINKS+= libnvidia-fbc.so.${PORTVERSION} libnvidia-fbc.so.1 \ |
195 |
libnvidia-fbc.so.${PORTVERSION} libnvidia-fbc.so |
199 |
libnvidia-fbc.so.${PORTVERSION} libnvidia-fbc.so |
196 |
LINUX32_LIBS+= libnvidia-eglcore.so.${PORTVERSION} \ |
200 |
LINUX32_LIBS+= libnvidia-eglcore.so.${PORTVERSION} \ |
197 |
libnvidia-fbc.so.${PORTVERSION} \ |
201 |
libnvidia-fbc.so.${PORTVERSION} \ |
198 |
libnvidia-glsi.so.${PORTVERSION} |
202 |
libnvidia-glsi.so.${PORTVERSION} |
199 |
LINUX32_LINKS+= libnvidia-fbc.so.${PORTVERSION} libnvidia-fbc.so.1 \ |
203 |
LINUX32_LINKS+= libnvidia-fbc.so.${PORTVERSION} libnvidia-fbc.so.1 \ |
200 |
libnvidia-fbc.so.${PORTVERSION} libnvidia-fbc.so |
204 |
libnvidia-fbc.so.${PORTVERSION} libnvidia-fbc.so |
201 |
.else |
205 |
.else |
202 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-(eglcore|fbc|glsi),d' |
206 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-(eglcore|fbc|glsi),d' |
203 |
.endif |
207 |
.endif |
204 |
.if ${NVVERSION} >= 310.014 |
208 |
.if ${NVVERSION} >= 310.014 |
205 |
LINUX_LIBS+= libnvidia-encode.so.${PORTVERSION} |
209 |
LINUX_LIBS+= libnvidia-encode.so.${PORTVERSION} |
206 |
LINUX_LINKS+= libnvidia-encode.so.${PORTVERSION} libnvidia-encode.so.1 \ |
210 |
LINUX_LINKS+= libnvidia-encode.so.${PORTVERSION} libnvidia-encode.so.1 \ |
207 |
libnvidia-encode.so.${PORTVERSION} libnvidia-encode.so |
211 |
libnvidia-encode.so.${PORTVERSION} libnvidia-encode.so |
208 |
LINUX32_LIBS+= libnvidia-encode.so.${PORTVERSION} |
212 |
LINUX32_LIBS+= libnvidia-encode.so.${PORTVERSION} |
209 |
LINUX32_LINKS+= libnvidia-encode.so.${PORTVERSION} libnvidia-encode.so.1 \ |
213 |
LINUX32_LINKS+= libnvidia-encode.so.${PORTVERSION} libnvidia-encode.so.1 \ |
210 |
libnvidia-encode.so.${PORTVERSION} libnvidia-encode.so |
214 |
libnvidia-encode.so.${PORTVERSION} libnvidia-encode.so |
211 |
PLIST_RE+= '\,${LINUXBASE}.*libXvMCNVIDIA,d' |
215 |
PLIST_RE+= '\,${LINUXBASE}.*libXvMCNVIDIA,d' |
212 |
.else |
216 |
.else |
213 |
LINUX_LIBS+= libXvMCNVIDIA.so.${PORTVERSION} |
217 |
LINUX_LIBS+= libXvMCNVIDIA.so.${PORTVERSION} |
214 |
LINUX_LINKS+= libXvMCNVIDIA.so.${PORTVERSION} libXvMCNVIDIA_dynamic.so.1 \ |
218 |
LINUX_LINKS+= libXvMCNVIDIA.so.${PORTVERSION} libXvMCNVIDIA_dynamic.so.1 \ |
215 |
libXvMCNVIDIA.so.${PORTVERSION} libXvMCNVIDIA_dynamic.so |
219 |
libXvMCNVIDIA.so.${PORTVERSION} libXvMCNVIDIA_dynamic.so |
216 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-encode,d' |
220 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-encode,d' |
217 |
.endif |
221 |
.endif |
218 |
.if ${NVVERSION} >= 346.016 |
222 |
.if ${NVVERSION} >= 346.016 |
219 |
LINUX_LIBS+= libnvidia-gtk2.so.${PORTVERSION} \ |
223 |
LINUX_LIBS+= libnvidia-gtk2.so.${PORTVERSION} \ |
220 |
libnvidia-gtk3.so.${PORTVERSION} |
224 |
libnvidia-gtk3.so.${PORTVERSION} |
221 |
.else |
225 |
.else |
222 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-gtk(2|3)\.so,d' |
226 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-gtk(2|3)\.so,d' |
223 |
.endif |
227 |
.endif |
224 |
.if ${NVVERSION} >= 331.049 && ${NVVERSION} < 352.009 |
228 |
.if ${NVVERSION} >= 331.049 && ${NVVERSION} < 352.009 |
225 |
LINUX_DATA+= monitoring.conf /usr/share/nvidia \ |
229 |
LINUX_DATA+= monitoring.conf /usr/share/nvidia \ |
226 |
${WRKSRC}/pci.ids /usr/share/nvidia |
230 |
${WRKSRC}/pci.ids /usr/share/nvidia |
227 |
.else |
231 |
.else |
228 |
PLIST_RE+= '\,${LINUXBASE}.*monitoring\.conf,d' \ |
232 |
PLIST_RE+= '\,${LINUXBASE}.*monitoring\.conf,d' \ |
229 |
'\,${LINUXBASE}.*pci\.ids,d' |
233 |
'\,${LINUXBASE}.*pci\.ids,d' |
230 |
.endif |
234 |
.endif |
231 |
.if ${NVVERSION} >= 334.016 |
235 |
.if ${NVVERSION} >= 334.016 |
232 |
LINUX_DATA+= nvidia-application-profiles-${PORTVERSION}-key-documentation /usr/share/nvidia |
236 |
LINUX_DATA+= nvidia-application-profiles-${PORTVERSION}-key-documentation /usr/share/nvidia |
233 |
.else |
237 |
.else |
234 |
PLIST_RE+= '\,${LINUXBASE}.*application-profiles-${PORTVERSION}-key-documentation,d' |
238 |
PLIST_RE+= '\,${LINUXBASE}.*application-profiles-${PORTVERSION}-key-documentation,d' |
235 |
.endif |
239 |
.endif |
236 |
.if ${NVVERSION} >= 319.012 |
240 |
.if ${NVVERSION} >= 319.012 |
237 |
LINUX_DATA+= nvidia-application-profiles-${PORTVERSION}-rc /usr/share/nvidia |
241 |
LINUX_DATA+= nvidia-application-profiles-${PORTVERSION}-rc /usr/share/nvidia |
238 |
.else |
242 |
.else |
239 |
PLIST_RE+= '\,${LINUXBASE}.*share/nvidia,d' |
243 |
PLIST_RE+= '\,${LINUXBASE}.*share/nvidia,d' |
240 |
.endif |
244 |
.endif |
241 |
.if ${NVVERSION} >= 319.017 |
245 |
.if ${NVVERSION} >= 319.017 |
242 |
LINUX_PROGS+= nvidia-cuda-mps-control nvidia-cuda-mps-server \ |
246 |
LINUX_PROGS+= nvidia-cuda-mps-control nvidia-cuda-mps-server \ |
243 |
nvidia-persistenced |
247 |
nvidia-persistenced |
244 |
LINUX_MANS+= nvidia-cuda-mps-control nvidia-persistenced |
248 |
LINUX_MANS+= nvidia-cuda-mps-control nvidia-persistenced |
245 |
.else |
249 |
.else |
246 |
LINUX_PROGS+= nvidia-cuda-proxy-control nvidia-cuda-proxy-server |
250 |
LINUX_PROGS+= nvidia-cuda-proxy-control nvidia-cuda-proxy-server |
247 |
LINUX_MANS+= nvidia-cuda-proxy-control |
251 |
LINUX_MANS+= nvidia-cuda-proxy-control |
248 |
PLIST_RE+= '\,${LINUXBASE},s/cuda-mps/cuda-proxy/' \ |
252 |
PLIST_RE+= '\,${LINUXBASE},s/cuda-mps/cuda-proxy/' \ |
249 |
'\,${LINUXBASE}.*nvidia-persistenced,d' |
253 |
'\,${LINUXBASE}.*nvidia-persistenced,d' |
250 |
.endif |
254 |
.endif |
251 |
.if ${NVVERSION} >= 364.012 |
255 |
.if ${NVVERSION} >= 364.012 |
252 |
LINUX_DATA+= nvidia_icd.json /etc/vulkan/icd.d |
256 |
LINUX_DATA+= nvidia_icd.json /etc/vulkan/icd.d |
253 |
.else |
257 |
.else |
254 |
PLIST_RE+= '\,${LINUXBASE}/etc/vulkan,d' |
258 |
PLIST_RE+= '\,${LINUXBASE}/etc/vulkan,d' |
255 |
.endif |
259 |
.endif |
256 |
.if ${NVVERSION} >= 410.057 && ${NVVERSION} < 495.02905 |
260 |
.if ${NVVERSION} >= 410.057 && ${NVVERSION} < 495.02905 |
257 |
LINUX_LIBS+= libnvidia-cbl.so.${PORTVERSION} |
261 |
LINUX_LIBS+= libnvidia-cbl.so.${PORTVERSION} |
258 |
.else |
262 |
.else |
259 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-cbl\.so,d' |
263 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-cbl\.so,d' |
260 |
.endif |
264 |
.endif |
261 |
.if ${NVVERSION} >= 410.057 |
265 |
.if ${NVVERSION} >= 410.057 |
262 |
LINUX_LIBS+= libnvidia-rtcore.so.${PORTVERSION} |
266 |
LINUX_LIBS+= libnvidia-rtcore.so.${PORTVERSION} |
263 |
.else |
267 |
.else |
264 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-rtcore\.so,d' |
268 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-rtcore\.so,d' |
265 |
.endif |
269 |
.endif |
266 |
.if ${NVVERSION} >= 396.018 |
270 |
.if ${NVVERSION} >= 396.018 |
267 |
LINUX_LIBS+= libnvidia-glvkspirv.so.${PORTVERSION} |
271 |
LINUX_LIBS+= libnvidia-glvkspirv.so.${PORTVERSION} |
268 |
LINUX32_LIBS+= libnvidia-glvkspirv.so.${PORTVERSION} |
272 |
LINUX32_LIBS+= libnvidia-glvkspirv.so.${PORTVERSION} |
269 |
.else |
273 |
.else |
270 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-glvkspirv\.so,d' |
274 |
PLIST_RE+= '\,${LINUXBASE}.*libnvidia-glvkspirv\.so,d' |
271 |
.endif |
275 |
.endif |
272 |
.if ${NVVERSION} >= 525.08902 # 525.89.02 |
276 |
.if ${NVVERSION} >= 525.08902 # 525.89.02 |
273 |
LINUX_LIBS+= libnvoptix.so.${PORTVERSION} \ |
277 |
LINUX_LIBS+= libnvoptix.so.${PORTVERSION} \ |
274 |
libnvidia-nvvm.so.${PORTVERSION} \ |
278 |
libnvidia-nvvm.so.${PORTVERSION} \ |
275 |
libnvidia-ngx.so.${PORTVERSION} \ |
279 |
libnvidia-ngx.so.${PORTVERSION} \ |
276 |
libnvidia-allocator.so.${PORTVERSION} \ |
280 |
libnvidia-allocator.so.${PORTVERSION} \ |
277 |
libnvidia-opticalflow.so.${PORTVERSION} \ |
281 |
libnvidia-opticalflow.so.${PORTVERSION} \ |
278 |
libnvidia-egl-gbm.so.1.1.0 |
282 |
libnvidia-egl-gbm.so.1.1.0 |
279 |
LINUX_LINKS+= libnvidia-egl-gbm.so.1.1.0 libnvidia-egl-gbm.so.1 \ |
283 |
LINUX_LINKS+= libnvidia-egl-gbm.so.1.1.0 libnvidia-egl-gbm.so.1 \ |
280 |
libnvidia-egl-gbm.so.1.1.0 libnvidia-egl-gbm.so \ |
284 |
libnvidia-egl-gbm.so.1.1.0 libnvidia-egl-gbm.so \ |
281 |
libnvidia-nvvm.so.${PORTVERSION} libnvidia-nvvm.so.4 \ |
285 |
libnvidia-nvvm.so.${PORTVERSION} libnvidia-nvvm.so.4 \ |
282 |
libnvidia-nvvm.so.${PORTVERSION} libnvidia-nvvm.so \ |
286 |
libnvidia-nvvm.so.${PORTVERSION} libnvidia-nvvm.so \ |
283 |
libnvidia-opticalflow.so.${PORTVERSION} libnvidia-opticalflow.so.1 \ |
287 |
libnvidia-opticalflow.so.${PORTVERSION} libnvidia-opticalflow.so.1 \ |
284 |
libnvidia-opticalflow.so.${PORTVERSION} libnvidia-opticalflow.so \ |
288 |
libnvidia-opticalflow.so.${PORTVERSION} libnvidia-opticalflow.so \ |
285 |
libnvoptix.so.${PORTVERSION} libnvoptix.so.1 \ |
289 |
libnvoptix.so.${PORTVERSION} libnvoptix.so.1 \ |
286 |
libnvoptix.so.${PORTVERSION} libnvoptix.so |
290 |
libnvoptix.so.${PORTVERSION} libnvoptix.so |
287 |
LINUX32_LIBS+= libnvidia-nvvm.so.${PORTVERSION} \ |
291 |
LINUX32_LIBS+= libnvidia-nvvm.so.${PORTVERSION} \ |
288 |
libnvidia-allocator.so.${PORTVERSION} \ |
292 |
libnvidia-allocator.so.${PORTVERSION} \ |
289 |
libnvidia-opticalflow.so.${PORTVERSION} |
293 |
libnvidia-opticalflow.so.${PORTVERSION} |
290 |
LINUX32_LINKS+= libnvidia-nvvm.so.${PORTVERSION} libnvidia-nvvm.so.4 \ |
294 |
LINUX32_LINKS+= libnvidia-nvvm.so.${PORTVERSION} libnvidia-nvvm.so.4 \ |
291 |
libnvidia-nvvm.so.${PORTVERSION} libnvidia-nvvm.so |
295 |
libnvidia-nvvm.so.${PORTVERSION} libnvidia-nvvm.so |
292 |
.else |
296 |
.else |
293 |
PLIST_RE+= '\,${LINUXBASE}.*libnvoptix\.so,d' \ |
297 |
PLIST_RE+= '\,${LINUXBASE}.*libnvoptix\.so,d' \ |
294 |
'\,${LINUXBASE}.*libnvidia-(allocator|egl-gbm|ngx|nvvm|opticalflow),d' |
298 |
'\,${LINUXBASE}.*libnvidia-(allocator|egl-gbm|ngx|nvvm|opticalflow),d' |
295 |
.endif |
299 |
.endif |
296 |
|
300 |
|
297 |
PLIST_SUB+= LINUXBASE=${LINUXBASE} \ |
301 |
PLIST_SUB+= LINUXBASE=${LINUXBASE} \ |
298 |
LINUX_LIBDIR=${LINUX_LIBDIR} \ |
302 |
LINUX_LIBDIR=${LINUX_LIBDIR} \ |
299 |
SHLIB_VERSION=${PORTVERSION} |
303 |
SHLIB_VERSION=${PORTVERSION} |
300 |
|
304 |
|
301 |
.include <bsd.port.pre.mk> |
305 |
.include <bsd.port.pre.mk> |
302 |
|
306 |
|
303 |
.if ${NVVERSION} >= 390.042 && ${LINUX_DEFAULT} != c6 |
307 |
.if ${NVVERSION} >= 390.042 && ${LINUX_DEFAULT} != c6 |
304 |
USE_LINUX+= libglvnd |
308 |
USE_LINUX+= libglvnd |
305 |
PLIST_RE+= '\,${LINUXBASE}.*libEGL\.so,d' \ |
309 |
PLIST_RE+= '\,${LINUXBASE}.*libEGL\.so,d' \ |
306 |
'\,${LINUXBASE}.*libGL\.so,d' \ |
310 |
'\,${LINUXBASE}.*libGL\.so,d' \ |
307 |
'\,${LINUXBASE}.*libGLESv(1_CM|2)\.so,d' \ |
311 |
'\,${LINUXBASE}.*libGLESv(1_CM|2)\.so,d' \ |
308 |
'\,${LINUXBASE}.*libGLX\.so,d' \ |
312 |
'\,${LINUXBASE}.*libGLX\.so,d' \ |
309 |
'\,${LINUXBASE}.*libGLdispatch\.so,d' \ |
313 |
'\,${LINUXBASE}.*libGLdispatch\.so,d' \ |
310 |
'\,${LINUXBASE}.*libOpenGL\.so,d' |
314 |
'\,${LINUXBASE}.*libOpenGL\.so,d' |
311 |
.else |
315 |
.else |
312 |
.if ${NVVERSION} >= 390.042 |
316 |
.if ${NVVERSION} >= 390.042 |
313 |
LINUX_LIBS+= libEGL.so.1.1.0 |
317 |
LINUX_LIBS+= libEGL.so.1.1.0 |
314 |
LINUX_LINKS+= libEGL.so.1.1.0 libEGL.so.1 |
318 |
LINUX_LINKS+= libEGL.so.1.1.0 libEGL.so.1 |
315 |
LINUX32_LIBS+= libEGL.so.1.1.0 |
319 |
LINUX32_LIBS+= libEGL.so.1.1.0 |
316 |
LINUX32_LINKS+= libEGL.so.1.1.0 libEGL.so.1 |
320 |
LINUX32_LINKS+= libEGL.so.1.1.0 libEGL.so.1 |
317 |
PLIST_RE+= '\,${LINUXBASE},s/(libEGL\.so)\.X/\1.1.1.0/' |
321 |
PLIST_RE+= '\,${LINUXBASE},s/(libEGL\.so)\.X/\1.1.1.0/' |
318 |
.elif ${NVVERSION} >= 355.006 |
322 |
.elif ${NVVERSION} >= 355.006 |
319 |
LINUX_LIBS+= libEGL.so.1 |
323 |
LINUX_LIBS+= libEGL.so.1 |
320 |
LINUX32_LIBS+= libEGL.so.1 |
324 |
LINUX32_LIBS+= libEGL.so.1 |
321 |
PLIST_RE+= '\,${LINUXBASE}.*libEGL\.so\.X,d' |
325 |
PLIST_RE+= '\,${LINUXBASE}.*libEGL\.so\.X,d' |
322 |
.elif ${NVVERSION} >= 331.013 |
326 |
.elif ${NVVERSION} >= 331.013 |
323 |
LINUX_LIBS+= libEGL.so.${PORTVERSION} |
327 |
LINUX_LIBS+= libEGL.so.${PORTVERSION} |
324 |
LINUX_LINKS+= libEGL.so.${PORTVERSION} libEGL.so.1 |
328 |
LINUX_LINKS+= libEGL.so.${PORTVERSION} libEGL.so.1 |
325 |
LINUX32_LIBS+= libEGL.so.${PORTVERSION} |
329 |
LINUX32_LIBS+= libEGL.so.${PORTVERSION} |
326 |
LINUX32_LINKS+= libEGL.so.${PORTVERSION} libEGL.so.1 |
330 |
LINUX32_LINKS+= libEGL.so.${PORTVERSION} libEGL.so.1 |
327 |
PLIST_RE+= '\,${LINUXBASE},s/(libEGL\.so)\.X/\1.${PORTVERSION}/' |
331 |
PLIST_RE+= '\,${LINUXBASE},s/(libEGL\.so)\.X/\1.${PORTVERSION}/' |
328 |
.else |
332 |
.else |
329 |
PLIST_RE+= '\,${LINUXBASE}.*libEGL\.so,d' |
333 |
PLIST_RE+= '\,${LINUXBASE}.*libEGL\.so,d' |
330 |
.endif |
334 |
.endif |
331 |
.if ${NVVERSION} >= 390.042 |
335 |
.if ${NVVERSION} >= 390.042 |
332 |
LINUX_LIBS+= libGL.so.1.7.0 |
336 |
LINUX_LIBS+= libGL.so.1.7.0 |
333 |
LINUX_LINKS+= libGL.so.1.7.0 libGL.so.1 |
337 |
LINUX_LINKS+= libGL.so.1.7.0 libGL.so.1 |
334 |
LINUX32_LIBS+= libGL.so.1.7.0 |
338 |
LINUX32_LIBS+= libGL.so.1.7.0 |
335 |
LINUX32_LINKS+= libGL.so.1.7.0 libGL.so.1 |
339 |
LINUX32_LINKS+= libGL.so.1.7.0 libGL.so.1 |
336 |
PLIST_RE+= '\,${LINUXBASE},s/(libGL\.so)\.X/\1.1.7.0/' |
340 |
PLIST_RE+= '\,${LINUXBASE},s/(libGL\.so)\.X/\1.1.7.0/' |
337 |
.elif ${NVVERSION} >= 361.028 |
341 |
.elif ${NVVERSION} >= 361.028 |
338 |
LINUX_LIBS+= libGL.so.1.0.0 |
342 |
LINUX_LIBS+= libGL.so.1.0.0 |
339 |
LINUX_LINKS+= libGL.so.1.0.0 libGL.so.1 |
343 |
LINUX_LINKS+= libGL.so.1.0.0 libGL.so.1 |
340 |
LINUX32_LIBS+= libGL.so.1.0.0 |
344 |
LINUX32_LIBS+= libGL.so.1.0.0 |
341 |
LINUX32_LINKS+= libGL.so.1.0.0 libGL.so.1 |
345 |
LINUX32_LINKS+= libGL.so.1.0.0 libGL.so.1 |
342 |
PLIST_RE+= '\,${LINUXBASE},s/(libGL\.so)\.X/\1.1.0.0/' |
346 |
PLIST_RE+= '\,${LINUXBASE},s/(libGL\.so)\.X/\1.1.0.0/' |
343 |
.elif ${NVVERSION} >= 361.016 |
347 |
.elif ${NVVERSION} >= 361.016 |
344 |
LINUX_LIBS+= libGL.so.1 |
348 |
LINUX_LIBS+= libGL.so.1 |
345 |
LINUX32_LIBS+= libGL.so.1 |
349 |
LINUX32_LIBS+= libGL.so.1 |
346 |
PLIST_RE+= '\,${LINUXBASE}.*libGL\.so\.X,d' |
350 |
PLIST_RE+= '\,${LINUXBASE}.*libGL\.so\.X,d' |
347 |
.else |
351 |
.else |
348 |
LINUX_LIBS+= libGL.so.${PORTVERSION} |
352 |
LINUX_LIBS+= libGL.so.${PORTVERSION} |
349 |
LINUX_LINKS+= libGL.so.${PORTVERSION} libGL.so.1 |
353 |
LINUX_LINKS+= libGL.so.${PORTVERSION} libGL.so.1 |
350 |
LINUX32_LIBS+= libGL.so.${PORTVERSION} |
354 |
LINUX32_LIBS+= libGL.so.${PORTVERSION} |
351 |
LINUX32_LINKS+= libGL.so.${PORTVERSION} libGL.so.1 |
355 |
LINUX32_LINKS+= libGL.so.${PORTVERSION} libGL.so.1 |
352 |
PLIST_RE+= '\,${LINUXBASE},s/(libGL\.so)\.X/\1.${PORTVERSION}/' |
356 |
PLIST_RE+= '\,${LINUXBASE},s/(libGL\.so)\.X/\1.${PORTVERSION}/' |
353 |
.endif |
357 |
.endif |
354 |
.if ${NVVERSION} >= 390.042 |
358 |
.if ${NVVERSION} >= 390.042 |
355 |
LINUX_LIBS+= libGLESv1_CM.so.1.2.0 \ |
359 |
LINUX_LIBS+= libGLESv1_CM.so.1.2.0 \ |
356 |
libGLESv2.so.2.1.0 |
360 |
libGLESv2.so.2.1.0 |
357 |
LINUX_LINKS+= libGLESv1_CM.so.1.2.0 libGLESv1_CM.so.1 \ |
361 |
LINUX_LINKS+= libGLESv1_CM.so.1.2.0 libGLESv1_CM.so.1 \ |
358 |
libGLESv2.so.2.1.0 libGLESv2.so.2 |
362 |
libGLESv2.so.2.1.0 libGLESv2.so.2 |
359 |
LINUX32_LIBS+= libGLESv1_CM.so.1.2.0 \ |
363 |
LINUX32_LIBS+= libGLESv1_CM.so.1.2.0 \ |
360 |
libGLESv2.so.2.1.0 |
364 |
libGLESv2.so.2.1.0 |
361 |
LINUX32_LINKS+= libGLESv1_CM.so.1.2.0 libGLESv1_CM.so.1 \ |
365 |
LINUX32_LINKS+= libGLESv1_CM.so.1.2.0 libGLESv1_CM.so.1 \ |
362 |
libGLESv2.so.2.1.0 libGLESv2.so.2 |
366 |
libGLESv2.so.2.1.0 libGLESv2.so.2 |
363 |
PLIST_RE+= '\,${LINUXBASE},s/(libGLESv1_CM\.so)\.X/\1.1.2.0/' \ |
367 |
PLIST_RE+= '\,${LINUXBASE},s/(libGLESv1_CM\.so)\.X/\1.1.2.0/' \ |
364 |
'\,${LINUXBASE},s/(libGLESv2\.so)\.X/\1.2.1.0/' |
368 |
'\,${LINUXBASE},s/(libGLESv2\.so)\.X/\1.2.1.0/' |
365 |
.elif ${NVVERSION} >= 361.016 |
369 |
.elif ${NVVERSION} >= 361.016 |
366 |
LINUX_LIBS+= libGLESv1_CM.so.1 \ |
370 |
LINUX_LIBS+= libGLESv1_CM.so.1 \ |
367 |
libGLESv2.so.2 |
371 |
libGLESv2.so.2 |
368 |
LINUX32_LIBS+= libGLESv1_CM.so.1 \ |
372 |
LINUX32_LIBS+= libGLESv1_CM.so.1 \ |
369 |
libGLESv2.so.2 |
373 |
libGLESv2.so.2 |
370 |
PLIST_RE+= '\,${LINUXBASE}.*GLESv(1_CM|2)\.so\.X,d' |
374 |
PLIST_RE+= '\,${LINUXBASE}.*GLESv(1_CM|2)\.so\.X,d' |
371 |
.elif ${NVVERSION} >= 331.013 |
375 |
.elif ${NVVERSION} >= 331.013 |
372 |
LINUX_LIBS+= libGLESv1_CM.so.${PORTVERSION} \ |
376 |
LINUX_LIBS+= libGLESv1_CM.so.${PORTVERSION} \ |
373 |
libGLESv2.so.${PORTVERSION} |
377 |
libGLESv2.so.${PORTVERSION} |
374 |
LINUX_LINKS+= libGLESv1_CM.so.${PORTVERSION} libGLESv1_CM.so.1 \ |
378 |
LINUX_LINKS+= libGLESv1_CM.so.${PORTVERSION} libGLESv1_CM.so.1 \ |
375 |
libGLESv2.so.${PORTVERSION} libGLESv2.so.2 |
379 |
libGLESv2.so.${PORTVERSION} libGLESv2.so.2 |
376 |
LINUX32_LIBS+= libGLESv1_CM.so.${PORTVERSION} \ |
380 |
LINUX32_LIBS+= libGLESv1_CM.so.${PORTVERSION} \ |
377 |
libGLESv2.so.${PORTVERSION} |
381 |
libGLESv2.so.${PORTVERSION} |
378 |
LINUX32_LINKS+= libGLESv1_CM.so.${PORTVERSION} libGLESv1_CM.so.1 \ |
382 |
LINUX32_LINKS+= libGLESv1_CM.so.${PORTVERSION} libGLESv1_CM.so.1 \ |
379 |
libGLESv2.so.${PORTVERSION} libGLESv2.so.2 |
383 |
libGLESv2.so.${PORTVERSION} libGLESv2.so.2 |
380 |
PLIST_RE+= '\,${LINUXBASE},s/(libGLESv(1_CM|2)\.so)\.X/\1.${PORTVERSION}/' |
384 |
PLIST_RE+= '\,${LINUXBASE},s/(libGLESv(1_CM|2)\.so)\.X/\1.${PORTVERSION}/' |
381 |
.else |
385 |
.else |
382 |
PLIST_RE+= '\,${LINUXBASE}.*libGLESv(1_CM|2)\.so,d' |
386 |
PLIST_RE+= '\,${LINUXBASE}.*libGLESv(1_CM|2)\.so,d' |
383 |
.endif |
387 |
.endif |
384 |
.if ${NVVERSION} >= 361.016 |
388 |
.if ${NVVERSION} >= 361.016 |
385 |
LINUX_LIBS+= libGLX.so.0 |
389 |
LINUX_LIBS+= libGLX.so.0 |
386 |
LINUX32_LIBS+= libGLX.so.0 |
390 |
LINUX32_LIBS+= libGLX.so.0 |
387 |
.else |
391 |
.else |
388 |
PLIST_RE+= '\,${LINUXBASE}.*libGLX\.so,d' |
392 |
PLIST_RE+= '\,${LINUXBASE}.*libGLX\.so,d' |
389 |
.endif |
393 |
.endif |
390 |
.if ${NVVERSION} >= 355.006 |
394 |
.if ${NVVERSION} >= 355.006 |
391 |
LINUX_LIBS+= libGLdispatch.so.0 \ |
395 |
LINUX_LIBS+= libGLdispatch.so.0 \ |
392 |
libOpenGL.so.0 |
396 |
libOpenGL.so.0 |
393 |
LINUX32_LIBS+= libGLdispatch.so.0 \ |
397 |
LINUX32_LIBS+= libGLdispatch.so.0 \ |
394 |
libOpenGL.so.0 |
398 |
libOpenGL.so.0 |
395 |
.else |
399 |
.else |
396 |
PLIST_RE+= '\,${LINUXBASE}.*libGLdispatch\.so,d' \ |
400 |
PLIST_RE+= '\,${LINUXBASE}.*libGLdispatch\.so,d' \ |
397 |
'\,${LINUXBASE}.*libOpenGL\.so,d' |
401 |
'\,${LINUXBASE}.*libOpenGL\.so,d' |
398 |
.endif |
402 |
.endif |
399 |
.endif # ${NVVERSION} >= 390.042 && ${LINUX_DEFAULT} != c6 |
403 |
.endif # ${NVVERSION} >= 390.042 && ${LINUX_DEFAULT} != c6 |
400 |
|
404 |
|
401 |
.if ${ARCH} == amd64 |
405 |
.if ${ARCH} == amd64 |
402 |
.if ${NVVERSION} >= 310.014 |
406 |
.if ${NVVERSION} >= 310.014 |
403 |
LINUX32_LIBS+= libnvcuvid.so.${PORTVERSION} |
407 |
LINUX32_LIBS+= libnvcuvid.so.${PORTVERSION} |
404 |
LINUX32_LINKS+= libnvcuvid.so.${PORTVERSION} libnvcuvid.so.1 \ |
408 |
LINUX32_LINKS+= libnvcuvid.so.${PORTVERSION} libnvcuvid.so.1 \ |
405 |
libnvcuvid.so.${PORTVERSION} libnvcuvid.so |
409 |
libnvcuvid.so.${PORTVERSION} libnvcuvid.so |
406 |
.else |
410 |
.else |
407 |
PLIST_RE+= '\,${LINUXBASE}/usr/lib/libnvcuvid\.so,d' |
411 |
PLIST_RE+= '\,${LINUXBASE}/usr/lib/libnvcuvid\.so,d' |
408 |
.endif |
412 |
.endif |
409 |
.endif |
413 |
.endif |
410 |
|
414 |
|
411 |
.if ${ARCH} == amd64 |
415 |
.if ${ARCH} == amd64 |
412 |
PLIST_SUB+= LINUX32="" |
416 |
PLIST_SUB+= LINUX32="" |
413 |
.else |
417 |
.else |
414 |
PLIST_SUB+= LINUX32="@comment " |
418 |
PLIST_SUB+= LINUX32="@comment " |
415 |
.endif |
419 |
.endif |
416 |
|
420 |
|
417 |
do-extract: |
421 |
do-extract: |
418 |
@(cd ${WRKDIR} && ${SH} \ |
422 |
@(cd ${WRKDIR} && ${SH} \ |
419 |
${DISTDIR}/NVIDIA-Linux-${ARCH_SUFX}-${DISTVERSION}.run \ |
423 |
${DISTDIR}/NVIDIA-Linux-${ARCH_SUFX}-${DISTVERSION}.run \ |
420 |
--extract-only > /dev/null) |
424 |
--extract-only > /dev/null) |
421 |
|
425 |
|
422 |
post-patch: |
426 |
post-patch: |
423 |
.if ${NVVERSION} >= 384.047 && ${NVVERSION} < 435.017 |
427 |
.if ${NVVERSION} >= 384.047 && ${NVVERSION} < 435.017 |
424 |
@${SED} 's/__NV_VK_ICD__/libGLX_nvidia.so.0/' \ |
428 |
@${SED} 's/__NV_VK_ICD__/libGLX_nvidia.so.0/' \ |
425 |
${WRKSRC}/nvidia_icd.json.template > \ |
429 |
${WRKSRC}/nvidia_icd.json.template > \ |
426 |
${WRKSRC}/nvidia_icd.json |
430 |
${WRKSRC}/nvidia_icd.json |
427 |
.endif |
431 |
.endif |
428 |
|
432 |
|
429 |
do-install: |
433 |
do-install: |
430 |
# pkg-plist is already overbloated, so use these hacks instead of PLIST_SUB's |
434 |
# pkg-plist is already overbloated, so use these hacks instead of PLIST_SUB's |
431 |
.if ${NVVERSION} >= 304.128 && ${NVVERSION} < 310.019 || ${NVVERSION} >= 361.016 |
435 |
.if ${NVVERSION} >= 304.128 && ${NVVERSION} < 310.019 || ${NVVERSION} >= 361.016 |
432 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/libvdpau(_trace)?\.so/d;}' \ |
436 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/libvdpau(_trace)?\.so/d;}' \ |
433 |
${TMPPLIST} |
437 |
${TMPPLIST} |
434 |
.endif |
438 |
.endif |
435 |
.if ${NVVERSION} >= 310.019 |
439 |
.if ${NVVERSION} >= 310.019 |
436 |
${REINPLACE_CMD} -e '\,${LINUXBASE},!{/libXvMCNVIDIA/d;}' ${TMPPLIST} |
440 |
${REINPLACE_CMD} -e '\,${LINUXBASE},!{/libXvMCNVIDIA/d;}' ${TMPPLIST} |
437 |
.endif |
441 |
.endif |
438 |
.if ${NVVERSION} < 331.013 || ${ARCH} == amd64 && ${NVVERSION} < 334.016 |
442 |
.if ${NVVERSION} < 331.013 || ${ARCH} == amd64 && ${NVVERSION} < 334.016 |
439 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/lib(nvidia-)?(EGL|eglcore|GLESv|glsi)/d;}' \ |
443 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/lib(nvidia-)?(EGL|eglcore|GLESv|glsi)/d;}' \ |
440 |
${TMPPLIST} |
444 |
${TMPPLIST} |
441 |
.endif |
445 |
.endif |
442 |
.if ${NVVERSION} < 352.009 |
446 |
.if ${NVVERSION} < 352.009 |
443 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/(lib)?nvidia-(debugdump|smi|ml)/d;}' \ |
447 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/(lib)?nvidia-(debugdump|smi|ml)/d;}' \ |
444 |
${TMPPLIST} |
448 |
${TMPPLIST} |
445 |
.endif |
449 |
.endif |
446 |
.if ${NVVERSION} < 355.006 |
450 |
.if ${NVVERSION} < 355.006 |
447 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/(libEGL_nvidia|GLdispatch|OpenGL)/d;}' \ |
451 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/(libEGL_nvidia|GLdispatch|OpenGL)/d;}' \ |
448 |
${TMPPLIST} |
452 |
${TMPPLIST} |
449 |
.else |
453 |
.else |
450 |
${REINPLACE_CMD} '\,${LINUXBASE},!s/libEGL\.so\.${PORTVERSION}/libEGL.so/' \ |
454 |
${REINPLACE_CMD} '\,${LINUXBASE},!s/libEGL\.so\.${PORTVERSION}/libEGL.so/' \ |
451 |
${TMPPLIST} |
455 |
${TMPPLIST} |
452 |
.endif |
456 |
.endif |
453 |
.if ${NVVERSION} >= 361.028 |
457 |
.if ${NVVERSION} >= 361.028 |
454 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/(EGL_nvidia\.so|GLESv[12](_CM)?(\.so\.[0-9]+\.[0-9]+))$$/d;}' \ |
458 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/(EGL_nvidia\.so|GLESv[12](_CM)?(\.so\.[0-9]+\.[0-9]+))$$/d;}' \ |
455 |
${TMPPLIST} |
459 |
${TMPPLIST} |
456 |
.else |
460 |
.else |
457 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/\/lib\/libGLESv[12](_CM)?(\.so)?(_nvidia.so(\.[0-9]|\.[0-9]+\.[0-9]+)?)?$$/d ; \ |
461 |
${REINPLACE_CMD} -E '\,${LINUXBASE},!{/\/lib\/libGLESv[12](_CM)?(\.so)?(_nvidia.so(\.[0-9]|\.[0-9]+\.[0-9]+)?)?$$/d ; \ |
458 |
/libEGL_nvidia\.so\.${PORTVERSION}/d;}' ${TMPPLIST} |
462 |
/libEGL_nvidia\.so\.${PORTVERSION}/d;}' ${TMPPLIST} |
459 |
.endif |
463 |
.endif |
460 |
.if ${NVVERSION} >= 415.013 |
464 |
.if ${NVVERSION} >= 415.013 |
461 |
${REINPLACE_CMD} -e '/tls\/libnvidia-tls\.so/d' ${TMPPLIST} |
465 |
${REINPLACE_CMD} -e '/tls\/libnvidia-tls\.so/d' ${TMPPLIST} |
462 |
.endif |
466 |
.endif |
463 |
${REINPLACE_CMD} -E ${PLIST_RE:S/^/-e /} ${TMPPLIST} |
467 |
${REINPLACE_CMD} -E ${PLIST_RE:S/^/-e /} ${TMPPLIST} |
464 |
.for f d in ${LINUX_DATA} |
468 |
.for f d in ${LINUX_DATA} |
465 |
${MKDIR} ${STAGEDIR}${LINUXBASE}${d} |
469 |
${MKDIR} ${STAGEDIR}${LINUXBASE}${d} |
466 |
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${LINUXBASE}${d} |
470 |
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${LINUXBASE}${d} |
467 |
.endfor |
471 |
.endfor |
468 |
${MKDIR} ${STAGEDIR}${LINUXBASE}/usr/bin |
472 |
${MKDIR} ${STAGEDIR}${LINUXBASE}/usr/bin |
469 |
${INSTALL_SCRIPT} ${WRKSRC}/nvidia-bug-report.sh \ |
473 |
${INSTALL_SCRIPT} ${WRKSRC}/nvidia-bug-report.sh \ |
470 |
${STAGEDIR}${LINUXBASE}/usr/bin |
474 |
${STAGEDIR}${LINUXBASE}/usr/bin |
471 |
.for p in ${LINUX_PROGS} |
475 |
.for p in ${LINUX_PROGS} |
472 |
${INSTALL_PROGRAM} ${WRKSRC}/${p} ${STAGEDIR}${LINUXBASE}/usr/bin |
476 |
${INSTALL_PROGRAM} ${WRKSRC}/${p} ${STAGEDIR}${LINUXBASE}/usr/bin |
473 |
.endfor |
477 |
.endfor |
474 |
${MKDIR} ${STAGEDIR}${LINUXBASE}/usr/share/man/man1 |
478 |
${MKDIR} ${STAGEDIR}${LINUXBASE}/usr/share/man/man1 |
475 |
.for m in ${LINUX_MANS} |
479 |
.for m in ${LINUX_MANS} |
476 |
${INSTALL_MAN} ${WRKSRC}/${m}.1.gz \ |
480 |
${INSTALL_MAN} ${WRKSRC}/${m}.1.gz \ |
477 |
${STAGEDIR}${LINUXBASE}/usr/share/man/man1 |
481 |
${STAGEDIR}${LINUXBASE}/usr/share/man/man1 |
478 |
.endfor |
482 |
.endfor |
479 |
${MKDIR} ${STAGEDIR}${LINUXBASE}${LINUX_LIBDIR}/tls |
483 |
${MKDIR} ${STAGEDIR}${LINUXBASE}${LINUX_LIBDIR}/tls |
480 |
${MKDIR} ${STAGEDIR}${LINUXBASE}${LINUX_LIBDIR}/vdpau |
484 |
${MKDIR} ${STAGEDIR}${LINUXBASE}${LINUX_LIBDIR}/vdpau |
481 |
.for l in ${LINUX_LIBS} |
485 |
.for l in ${LINUX_LIBS} |
482 |
${INSTALL_LIB} ${WRKSRC}/${l} \ |
486 |
${INSTALL_LIB} ${WRKSRC}/${l} \ |
483 |
${STAGEDIR}${LINUXBASE}${LINUX_LIBDIR}/${l} |
487 |
${STAGEDIR}${LINUXBASE}${LINUX_LIBDIR}/${l} |
484 |
.endfor |
488 |
.endfor |
485 |
.for s t in ${LINUX_LINKS} |
489 |
.for s t in ${LINUX_LINKS} |
486 |
${RLN} ${STAGEDIR}${LINUXBASE}${LINUX_LIBDIR}/${s} \ |
490 |
${RLN} ${STAGEDIR}${LINUXBASE}${LINUX_LIBDIR}/${s} \ |
487 |
${STAGEDIR}${LINUXBASE}${LINUX_LIBDIR}/${t} |
491 |
${STAGEDIR}${LINUXBASE}${LINUX_LIBDIR}/${t} |
488 |
.endfor |
492 |
.endfor |
489 |
.if ${ARCH} == amd64 |
493 |
.if ${ARCH} == amd64 |
490 |
${MKDIR} ${STAGEDIR}${LINUXBASE}/usr/lib/tls |
494 |
${MKDIR} ${STAGEDIR}${LINUXBASE}/usr/lib/tls |
491 |
${MKDIR} ${STAGEDIR}${LINUXBASE}/usr/lib/vdpau |
495 |
${MKDIR} ${STAGEDIR}${LINUXBASE}/usr/lib/vdpau |
492 |
.for l in ${LINUX32_LIBS} |
496 |
.for l in ${LINUX32_LIBS} |
493 |
${INSTALL_LIB} ${WRKSRC}/32/${l} \ |
497 |
${INSTALL_LIB} ${WRKSRC}/32/${l} \ |
494 |
${STAGEDIR}${LINUXBASE}/usr/lib/${l} |
498 |
${STAGEDIR}${LINUXBASE}/usr/lib/${l} |
495 |
.endfor |
499 |
.endfor |
496 |
.for s t in ${LINUX32_LINKS} |
500 |
.for s t in ${LINUX32_LINKS} |
497 |
${RLN} ${STAGEDIR}${LINUXBASE}/usr/lib/${s} \ |
501 |
${RLN} ${STAGEDIR}${LINUXBASE}/usr/lib/${s} \ |
498 |
${STAGEDIR}${LINUXBASE}/usr/lib/${t} |
502 |
${STAGEDIR}${LINUXBASE}/usr/lib/${t} |
499 |
.endfor |
503 |
.endfor |
500 |
.endif |
504 |
.endif |
501 |
|
505 |
|
502 |
.include <bsd.port.post.mk> |
506 |
.include <bsd.port.post.mk> |