Package: fontconfig-path Version: 20110722 Revision: 1 Type: nosource NoSourceDirectory: true BuildDepends: fink (>= 0.24.12) PatchFile: %n.patch PatchFile-MD5: ff06c0474731a669b64bf95c4d79a1d6 PatchScript: sed 's|@PREFIX@|%p|' %{PatchFile} | patch -p1 CompileScript: echo "No compile needed" InstallScript: << mkdir -p %i/share/%n cp %n.conf %i/share/%n mkdir -p %i/etc/profile.d chmod a+x %n.*sh cp %n.*sh %i/etc/profile.d << PostRmScript: << OLD_FONTCONFIG_FILE=/usr/X11/lib/X11/fonts/fonts.conf NEW_FONTCONFIG_FILE=/usr/X11/lib/X11/fontconfig/fonts.conf if [[ "$1" == "remove" || "$1" == "purge" ]]; then rm -rf %p/share/fontconfig-path if [ -e $NEW_FONTCONFIG_FILE ] ; then FONTCONFIG_FILE=$NEW_FONTCONFIG_FILE fc-cache || echo Ignoring errors... else FONTCONFIG_FILE=$OLD_FONTCONFIG_FILE fc-cache || echo Ignoring errors... fi fi << DocFiles: README Description: Add custom directories to fontconfig search DescUsage: << If fontconfig is having trouble finding fonts, update fontconf-path to the latest version and then try "fink reinstall fontconfig-path", followed by "fink reinstall fc-ghostscript-fonts" (if fc-ghostscript fonts was installed. << License: Public Domain Maintainer: Matthias Neeracher