diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-11-05 04:13:12 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-11-05 04:13:12 +0800 |
commit | a91dbfc9398c4e3f6ad0dc51a19edce7fafb7040 (patch) | |
tree | 42c7b8e563e1079fe8941862c9ba1d502a7aacfb /x11-fonts/fontconfig/files | |
parent | fb2dcd2f4862ad212ae58c43d0831ae32843f666 (diff) | |
download | marcuscom-ports-a91dbfc9398c4e3f6ad0dc51a19edce7fafb7040.tar marcuscom-ports-a91dbfc9398c4e3f6ad0dc51a19edce7fafb7040.tar.gz marcuscom-ports-a91dbfc9398c4e3f6ad0dc51a19edce7fafb7040.tar.bz2 marcuscom-ports-a91dbfc9398c4e3f6ad0dc51a19edce7fafb7040.tar.lz marcuscom-ports-a91dbfc9398c4e3f6ad0dc51a19edce7fafb7040.tar.xz marcuscom-ports-a91dbfc9398c4e3f6ad0dc51a19edce7fafb7040.tar.zst marcuscom-ports-a91dbfc9398c4e3f6ad0dc51a19edce7fafb7040.zip |
Update to 2.4.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7857 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fonts/fontconfig/files')
-rw-r--r-- | x11-fonts/fontconfig/files/patch-Makefile.in | 31 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/pkg-install.in | 9 |
2 files changed, 40 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..0ebabf44a --- /dev/null +++ b/x11-fonts/fontconfig/files/patch-Makefile.in @@ -0,0 +1,31 @@ +--- Makefile.in.orig Sat Nov 4 14:54:15 2006 ++++ Makefile.in Sat Nov 4 14:54:46 2006 +@@ -785,28 +785,6 @@ $(srcdir)/ChangeLog: + .PHONY: ChangeLog $(srcdir)/ChangeLog + + install-data-local: +- $(mkinstalldirs) $(DESTDIR)$(configdir) $(DESTDIR)$(fc_cachedir) +- 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 -s -f -v"; \ +- fc-cache/fc-cache -s -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..b00502db5 --- /dev/null +++ b/x11-fonts/fontconfig/files/pkg-install.in @@ -0,0 +1,9 @@ +#!/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 +fi |