freebsd-ports/x11-servers/xorg-server/files/pkg-deinstall.in
Koop Mast 04a589dee4 Solve libGL.so and libglx.so conflict situation between libGL, xorg-server and
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@
2012-08-31 15:44:41 +00:00

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