1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/x11-fonts/XFree86-4-fontScalable
Dejan Lesjak 2048a96036 Take care of font cache files on installation and uninstallation of port:
On installation try running fc-cache for directory where fonts from this
port are installed and don't complain if fc-cache (from fontconfig) is
missing. Do a bit more dancing on uninstall, just in case users have their
own fonts installed in same directory:
- first remove fonts.cache-1 if it is there since it won't be accurate
  after fonts from this port are gone anyway,
- next try to regenerate cache with fc-cache for this directory
- if previous step generates empty cache file, remove it
If directory contained only fonts from this port, it should get properly
removed at the end. If there were other fonts there and fontconfig is
installed, this will leave proper cache file for remaining fonts behind
after uninstall of this port.
2006-02-07 09:56:51 +00:00
..
files
distinfo
Makefile Take care of font cache files on installation and uninstallation of port: 2006-02-07 09:56:51 +00:00
pkg-descr
pkg-plist Take care of font cache files on installation and uninstallation of port: 2006-02-07 09:56:51 +00:00