1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/x11/nvidia-driver/pkg-plist
Alexey Dokuchaev 8bb1cc999d - Update corresponding NVidia drivers to versions 270.41.19 and 173.14.30
- Turn formal requirement for X server into explicit dependency and bump
  port revisions in nvidia-driver-96 and nvidia-driver-71 accordingly
- Remove NO_PACKAGE; along with previous change, this enables us to build
  nvidia-driver packages
- Try to rely a little less on the assumption that PREFIX == LOCALBASE and
  explicitly create ${PREFIX}/${MODULESDIR}/extensions directory
- Fix pkg-plist issue when both lib/xorg/modules/extensions/libglx.so and
  lib/libGL.so.1 handling worked for installation from the port, but was
  insufficient for the package

Special thanks to ale@ for proposing pkg-plist fix and patiently waiting
for me to realize it is indeed correct.

PR:	ports/152400
2011-05-21 14:04:48 +00:00

50 lines
2.0 KiB
Plaintext

@exec mv -f %D/%%MODULESDIR%%/extensions/libglx.la %D/%%MODULESDIR%%/extensions/XXX-libglx.la.%%%%.%%XSERVVERSION%%
@unexec mv -f %D/%%MODULESDIR%%/extensions/XXX-libglx.la.%%%%.%%XSERVVERSION%% %D/%%MODULESDIR%%/extensions/libglx.la
@exec mv -f %D/%%MODULESDIR%%/extensions/libglx.so %D/%%MODULESDIR%%/extensions/XXX-libglx.so.%%%%.%%XSERVVERSION%%
%%MODULESDIR%%/extensions/libglx.so
@unexec mv -f %D/%%MODULESDIR%%/extensions/XXX-libglx.so.%%%%.%%XSERVVERSION%% %D/%%MODULESDIR%%/extensions/libglx.so
@exec mv -f %D/lib/libGL.so.1 %D/lib/XXX-libGL.so.1.%%%%.%%LIBGLVERSION%%
lib/libGL.so.1
@unexec mv -f %D/lib/XXX-libGL.so.1.%%%%.%%LIBGLVERSION%% %D/lib/libGL.so.1
lib/libnvidia-tls.so.1
lib/libnvidia-tls.so
lib/libnvidia-cfg.so.1
lib/libnvidia-cfg.so
lib/libGLcore.so.1
lib/libGLcore.so
lib/vdpau/libvdpau_nvidia.so.1
lib/libvdpau_nvidia.so
lib/libXvMCNVIDIA.so.1
lib/libXvMCNVIDIA.so
lib/libXvMCNVIDIA.a
lib/libXvMCNVIDIA_dynamic.so.1
@dirrmtry lib/vdpau
%%MODULESDIR%%/libnvidia-wfb.so.1
%%MODULESDIR%%/drivers/nvidia_drv.so
%%MODULESDIR%%/extensions/libglx.so.1
@exec ln -sf libglx.so.1 %D/%%MODULESDIR%%/extensions/libglx.so
@dirrmtry %%MODULESDIR%%/drivers
@cwd /boot/modules
nvidia.ko
@unexec kldxref %D
%%LINUX%%@cwd %%LINUXBASE%%
%%LINUX%%usr/lib/libGL.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/libGL.so.1
%%LINUX%%usr/lib/libGLcore.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/libGLcore.so.1
%%LINUX%%usr/lib/libcuda.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/libcuda.so.1
%%LINUX%%usr/lib/libnvidia-tls.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/libnvidia-tls.so.1
%%LINUX%%usr/lib/libvdpau.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/libvdpau.so.1
%%LINUX%%usr/lib/libvdpau_nvidia.so
%%LINUX%%usr/lib/libvdpau_trace.so
%%LINUX%%usr/lib/vdpau/libvdpau_nvidia.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/vdpau/libvdpau_nvidia.so.1
%%LINUX%%usr/lib/vdpau/libvdpau_trace.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/vdpau/libvdpau_trace.so.1
%%LINUX%%@dirrm usr/lib/vdpau
%%LINUX%%@exec %D/sbin/ldconfig -r %D
%%LINUX%%@unexec %D/sbin/ldconfig -r %D