mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
16 lines
526 B
Bash
16 lines
526 B
Bash
#!/bin/sh
|
|
|
|
if [ "x$2" = "xPOST-DEINSTALL" ]; then
|
|
cd ${PKG_PREFIX}/%%FONTSDIR%%; %%LOCALBASE%%/bin/mkfontdir
|
|
%%LOCALBASE%%/bin/xset fp rehash ||
|
|
(
|
|
echo "**********************************************************"
|
|
echo "You should restart X server or do 'xset fp rehash' command"
|
|
echo "to enable this update."
|
|
echo "**********************************************************"
|
|
)
|
|
if [ "`wc -c ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir | awk '{print $1}'`" = 2 ]; then
|
|
rm -f ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir
|
|
fi
|
|
fi
|