the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: fontconfig-path
Version: 20071103
Revision: 2
Distribution: 10.5
Type: nosource
NoSourceDirectory: true
BuildDepends: fink (>= 0.24.12)
PatchFile: %n-10.5.patch
PatchFile-MD5: 5e61e8e0c904d13b8c4c50f106fcc96c
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: <<
if [[ "$1" == "remove" || "$1" == "purge" ]]; then
rm -rf %p/share/fontconfig-path
FONTCONFIG_FILE=/usr/X11/lib/X11/fonts/fonts.conf fc-cache || echo Ignoring errors...
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
diff -ruN fontconfig-path-orig/README fontconfig-path/README
--- fontconfig-path-orig/README Wed Dec 31 16:00:00 1969
+++ fontconfig-path/README Sat Jan 29 00:15:27 2005
@@ -0,0 +1,16 @@
+fontconfig-path is a simple package to add additional font directories, e.g. the ghostscript fonts,
+to the fontconfig search path.
+
+To use fontconfig-path, add the following lines to your package
+
+Depend: fontconfig-path
+Install: <<
+ mkdir -p %i/share/fontconfig-path
+ ln -s your-font-directory %i/share/fontconfig-path/your-package-name
+<<
+PostInstScript: fc-cache
+PostRmScript: fc-cache
+
+fontconfig-path is in the public domain.
+
+Matthias Neeracher
diff -ruN fontconfig-path-orig/fontconfig-path.conf fontconfig-path/fontconfig-path.conf
--- fontconfig-path-orig/fontconfig-path.conf Wed Dec 31 16:00:00 1969
+++ fontconfig-path/fontconfig-path.conf Fri Jan 28 23:52:42 2005
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
diff -ruN fontconfig-path-orig/fontconfig-path.csh fontconfig-path/fontconfig-path.csh
--- fontconfig-path-orig/fontconfig-path.csh Wed Dec 31 16:00:00 1969
+++ fontconfig-path/fontconfig-path.csh Fri Jan 28 23:55:05 2005
@@ -0,0 +1 @@
+setenv FONTCONFIG_FILE @PREFIX@/share/fontconfig-path/fontconfig-path.conf
diff -ruN fontconfig-path-orig/fontconfig-path.sh fontconfig-path/fontconfig-path.sh
--- fontconfig-path-orig/fontconfig-path.sh Wed Dec 31 16:00:00 1969
+++ fontconfig-path/fontconfig-path.sh Sat Jan 29 00:15:37 2005
@@ -0,0 +1 @@
+export FONTCONFIG_FILE=@PREFIX@/share/fontconfig-path/fontconfig-path.conf
Package: fontconfig-path
Version: 20071103
Revision: 2
Distribution: 10.5
Type: nosource
NoSourceDirectory: true
BuildDepends: fink (>= 0.24.12)
PatchFile: %n-10.5.patch
PatchFile-MD5: 5e61e8e0c904d13b8c4c50f106fcc96c
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: <<
if [[ "$1" == "remove" || "$1" == "purge" ]]; then
rm -rf %p/share/fontconfig-path
FONTCONFIG_FILE=/usr/X11/lib/X11/fonts/fonts.conf fc-cache || echo Ignoring errors...
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
diff -ruN fontconfig-path-orig/README fontconfig-path/README
--- fontconfig-path-orig/README Wed Dec 31 16:00:00 1969
+++ fontconfig-path/README Sat Jan 29 00:15:27 2005
@@ -0,0 +1,16 @@
+fontconfig-path is a simple package to add additional font directories, e.g. the ghostscript fonts,
+to the fontconfig search path.
+
+To use fontconfig-path, add the following lines to your package
+
+Depend: fontconfig-path
+Install: <<
+ mkdir -p %i/share/fontconfig-path
+ ln -s your-font-directory %i/share/fontconfig-path/your-package-name
+<<
+PostInstScript: fc-cache
+PostRmScript: fc-cache
+
+fontconfig-path is in the public domain.
+
+Matthias Neeracher
diff -ruN fontconfig-path-orig/fontconfig-path.conf fontconfig-path/fontconfig-path.conf
--- fontconfig-path-orig/fontconfig-path.conf Wed Dec 31 16:00:00 1969
+++ fontconfig-path/fontconfig-path.conf Fri Jan 28 23:52:42 2005
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
diff -ruN fontconfig-path-orig/fontconfig-path.csh fontconfig-path/fontconfig-path.csh
--- fontconfig-path-orig/fontconfig-path.csh Wed Dec 31 16:00:00 1969
+++ fontconfig-path/fontconfig-path.csh Fri Jan 28 23:55:05 2005
@@ -0,0 +1 @@
+setenv FONTCONFIG_FILE @PREFIX@/share/fontconfig-path/fontconfig-path.conf
diff -ruN fontconfig-path-orig/fontconfig-path.sh fontconfig-path/fontconfig-path.sh
--- fontconfig-path-orig/fontconfig-path.sh Wed Dec 31 16:00:00 1969
+++ fontconfig-path/fontconfig-path.sh Sat Jan 29 00:15:37 2005
@@ -0,0 +1 @@
+export FONTCONFIG_FILE=@PREFIX@/share/fontconfig-path/fontconfig-path.conf