diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-27 16:25:53 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-27 16:25:53 +0800 |
commit | bc2aad1b9c4b7114fcfa1c4a5e8c5f8dc8af82ae (patch) | |
tree | 2cb97559b911402cdcc8fe928cf8ac931a4d8923 /x11-fonts/fontconfig/files | |
parent | d58259ec806754788626ce44703ef5c241456640 (diff) | |
download | marcuscom-ports-bc2aad1b9c4b7114fcfa1c4a5e8c5f8dc8af82ae.tar.gz marcuscom-ports-bc2aad1b9c4b7114fcfa1c4a5e8c5f8dc8af82ae.tar.zst marcuscom-ports-bc2aad1b9c4b7114fcfa1c4a5e8c5f8dc8af82ae.zip |
Add fontconfig, at 2.3.2. gtk 2.7.4 needs this or it will not build. I added
respect the fonts.conf, but not other configure files yet. It might need some
improvement on tweak since I am lacking test on it at the moment and I am
rebuilding GNOME 2.11.x.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4334 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 | 11 |
2 files changed, 43 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..2ce9fb1c5 --- /dev/null +++ b/x11-fonts/fontconfig/files/pkg-install.in @@ -0,0 +1,11 @@ +#!/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 +fi |