04a589dee4
the nvidia-driver. Install the libraries in port specific directories. Use pkg-install and pkg-deinstall scripts to update the hardlinks to the default locations of these files. While here clean up some @dirrmtry lines in xorg-server plist for directories that aren.t created by xorg-server. Motivator: pkgng Inspiration: irc, freebsd-x11@ mailinglist discussion (sorry can't find it anymore to give credit the people) Reviewed by: danfe@ (for nvidia parts), bapt@ Approved by: danfe@ (for nvidia parts) With hat: x11@
12 lines
155 B
Bash
12 lines
155 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PREFIX="${PKG_PREFIX-/usr/local}"
|
|
|
|
case $2 in
|
|
DEINSTALL)
|
|
/bin/rm -rf ${PREFIX}/lib/xorg/modules/extensions/libglx.so*
|
|
;;
|
|
esac
|