Package: appleotffonts Version: 0.1 Revision: 11 BuildDepends: fink (>= 0.24.12) Depends: xfontpath Type: nosource PatchFile: %n.patch PatchFile-MD5: df210cc178dcff074e2811cc84dd8daf PatchScript: sed 's|@PREFIX@|%p|' < %{PatchFile} | patch -p1 CompileScript: << echo No compilation needed echo echo This package is created on the fly > dummy echo at installation time. >> dummy << InstallScript: << install -d -m 755 %d`%p/bin/xfontpath basedir`/appleotf install -d -m 755 %i/bin install -m 755 fix-otffont-filename.sh %i/bin << DocFiles: dummy PreRmScript: rm -f `%p/bin/xfontpath basedir`/appleotf/* PostInstScript: << export LANG=C cd `%p/bin/xfontpath basedir`/appleotf find /Library/Fonts /System/Library/Fonts -name \*.otf -print | while read FONTFILE; do FONTNAME=`basename "$FONTFILE"` rm -f "$FONTNAME" ln -sf "$FONTFILE" "${FONTNAME//\ /_}" done # Rename Japanese Open Type Font files into Roma-ji filename if exist. %p/bin/fix-otffont-filename.sh << Description: Make Apple otf fonts available to x11 DescDetail: << With this package, you can use OTF fonts provided by Apple (along with Mac OS X), in X11 applications. Currently, this package deals with Japanese fonts only. << License: Restrictive/Distributable Maintainer: Todai Fink Team