cvs commit: ports/x11-fonts/xorg-fonts-100dpi Makefile pkg-plist
ports/x11-fonts/xorg-fonts-75dpi Makefile pkg-plist
ports/x11-fonts/xorg-fonts-cyrillic Makefile pkg-plist
ports/x11-fonts/xorg-fonts-miscbitmaps Makefile pkg-plist ...
Dejan Lesjak
lesi at FreeBSD.org
Sun Feb 5 19:38:34 PST 2006
lesi 2006-02-06 03:38:29 UTC
FreeBSD ports repository
Modified files:
x11-fonts/xorg-fonts-100dpi Makefile pkg-plist
x11-fonts/xorg-fonts-75dpi Makefile pkg-plist
x11-fonts/xorg-fonts-cyrillic Makefile pkg-plist
x11-fonts/xorg-fonts-miscbitmaps Makefile pkg-plist
x11-fonts/xorg-fonts-truetype Makefile pkg-plist
x11-fonts/xorg-fonts-type1 Makefile pkg-plist
Log:
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.
Revision Changes Path
1.9 +4 -0 ports/x11-fonts/xorg-fonts-100dpi/Makefile
1.4 +4 -0 ports/x11-fonts/xorg-fonts-100dpi/pkg-plist
1.9 +4 -0 ports/x11-fonts/xorg-fonts-75dpi/Makefile
1.4 +4 -0 ports/x11-fonts/xorg-fonts-75dpi/pkg-plist
1.9 +4 -0 ports/x11-fonts/xorg-fonts-cyrillic/Makefile
1.4 +4 -0 ports/x11-fonts/xorg-fonts-cyrillic/pkg-plist
1.9 +4 -0 ports/x11-fonts/xorg-fonts-miscbitmaps/Makefile
1.4 +4 -0 ports/x11-fonts/xorg-fonts-miscbitmaps/pkg-plist
1.9 +3 -0 ports/x11-fonts/xorg-fonts-truetype/Makefile
1.4 +4 -1 ports/x11-fonts/xorg-fonts-truetype/pkg-plist
1.9 +3 -0 ports/x11-fonts/xorg-fonts-type1/Makefile
1.4 +4 -1 ports/x11-fonts/xorg-fonts-type1/pkg-plist
More information about the cvs-ports
mailing list