diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-28 02:38:21 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-28 02:38:21 +0800 |
commit | 5b69d6a22223574eeae92fc0926cdbbe59818798 (patch) | |
tree | 4393f5e84f8dd92ea8cd53c013c56aa90e80b2b5 /x11-fonts/fontconfig/files | |
parent | 1131e65a1faad808d56038d0e97c0eaf7a8ae9e3 (diff) | |
download | marcuscom-ports-5b69d6a22223574eeae92fc0926cdbbe59818798.tar marcuscom-ports-5b69d6a22223574eeae92fc0926cdbbe59818798.tar.gz marcuscom-ports-5b69d6a22223574eeae92fc0926cdbbe59818798.tar.bz2 marcuscom-ports-5b69d6a22223574eeae92fc0926cdbbe59818798.tar.lz marcuscom-ports-5b69d6a22223574eeae92fc0926cdbbe59818798.tar.xz marcuscom-ports-5b69d6a22223574eeae92fc0926cdbbe59818798.tar.zst marcuscom-ports-5b69d6a22223574eeae92fc0926cdbbe59818798.zip |
Update freetype2 to 2.2.1, and fix various ports to allow compilation with
the new version. Please test heavily.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7159 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fonts/fontconfig/files')
-rw-r--r-- | x11-fonts/fontconfig/files/patch-Makefile.in | 32 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/pkg-install.in | 12 |
2 files changed, 44 insertions, 0 deletions
diff --git a/x11-fonts/fontconfig/files/patch-Makefile.in b/x11-fonts/fontconfig/files/patch-Makefile.in new file mode 100644 index 000000000..1a310350f --- /dev/null +++ b/x11-fonts/fontconfig/files/patch-Makefile.in @@ -0,0 +1,32 @@ +--- Makefile.in.orig Wed Jul 27 02:23:03 2005 ++++ Makefile.in Wed Jul 27 02:25:27 2005 +@@ -721,28 +721,7 @@ + + + install-data-local: +- $(mkinstalldirs) $(DESTDIR)$(configdir) +- if [ -f $(DESTDIR)$(configdir)/fonts.conf ]; then \ +- echo "backing up existing $(DESTDIR)$(configdir)/fonts.conf"; \ +- mv $(DESTDIR)$(configdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf.bak; \ +- fi +- if [ -f $(srcdir)/fonts.conf ]; then \ +- echo " $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf"; \ +- $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \ +- else if [ -f fonts.conf ]; then \ +- echo " $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf"; \ +- $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \ +- fi; fi +- if $(RUN_FC_CACHE_TEST); then \ +- echo " fc-cache/fc-cache -f -v"; \ +- fc-cache/fc-cache -f -v; \ +- else \ +- echo "***"; \ +- echo "*** Warning: fonts.cache not built"; \ +- echo "***"; \ +- echo "*** Generate this file manually on host system using fc-cache"; \ +- echo "***"; \ +- fi ++ + + uninstall-local: + if [ -f $(srcdir)/fonts.conf ]; then \ diff --git a/x11-fonts/fontconfig/files/pkg-install.in b/x11-fonts/fontconfig/files/pkg-install.in new file mode 100644 index 000000000..dcf6ebbe1 --- /dev/null +++ b/x11-fonts/fontconfig/files/pkg-install.in @@ -0,0 +1,12 @@ +#!/bin/sh + +PATH=/bin:/usr/bin:/sbin:/usr/sbin:%%PREFIX%%/bin +export PATH + +if [ "$2" = "POST-INSTALL" ]; then + echo "Running fc-cache to build fontconfig cache..." + fc-cache -f -v +elif [ "$2" = "DEINSTALL" ]; then + find %%PREFIX%%/lib/X11/fonts/ -name fonts.cache-1 -delete + find %%X11BASE%%/lib/X11/fonts/ -name fonts.cache-1 -delete +fi |