diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 2000-01-08 03:03:16 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 2000-01-08 03:03:16 +0000 |
commit | 106273b5a42e5830c71306ed91f897e64b68c7e2 (patch) | |
tree | 6aef883993d4c5d34db11c3cc5a869ad441ddf03 /x11-fonts/intlfonts | |
parent | cedbdee44c77024777736fa3058643195428d171 (diff) | |
download | ports-106273b5a42e5830c71306ed91f897e64b68c7e2.tar.gz ports-106273b5a42e5830c71306ed91f897e64b68c7e2.zip |
Notes
Diffstat (limited to 'x11-fonts/intlfonts')
-rw-r--r-- | x11-fonts/intlfonts/Makefile | 85 | ||||
-rw-r--r-- | x11-fonts/intlfonts/distinfo | 1 | ||||
-rw-r--r-- | x11-fonts/intlfonts/files/DEINSTALL.tmpl | 13 | ||||
-rw-r--r-- | x11-fonts/intlfonts/files/INSTALL.tmpl | 13 | ||||
-rw-r--r-- | x11-fonts/intlfonts/pkg-comment | 1 | ||||
-rw-r--r-- | x11-fonts/intlfonts/pkg-descr | 21 | ||||
-rw-r--r-- | x11-fonts/intlfonts/pkg-plist | 219 | ||||
-rw-r--r-- | x11-fonts/intlfonts/pkg-req | 22 |
8 files changed, 375 insertions, 0 deletions
diff --git a/x11-fonts/intlfonts/Makefile b/x11-fonts/intlfonts/Makefile new file mode 100644 index 000000000000..064f4a54beb1 --- /dev/null +++ b/x11-fonts/intlfonts/Makefile @@ -0,0 +1,85 @@ +# New ports collection makefile for: intlfonts +# Version required: 1.2 +# Date created: 99/10/26 +# Whom: Satoshi TAOKA <taoka@FreeBSD.org> +# +# $FreeBSD$ +# + +DISTNAME= intlfonts-1.2 +CATEGORIES= x11-fonts +MASTER_SITES= ftp://ftp.etl.go.jp/pub/mule/ + +MAINTAINER= taoka@FreeBSD.org + +BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86 +RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86 \ + type1inst:${PORTSDIR}/x11-fonts/p5-type1inst + +USE_X_PREFIX= yes +PLIST_SUB= FONTSDIR=${FONTSDIR} T1_FONTSDIR=${T1_FONTSDIR} \ + TT_FONTSDIR=${TT_FONTSDIR} DOCDIR=${DOCDIR} + +NORMAL_FONTS= Asian \ + Chinese \ + Ethiopic \ + European \ + Japanese \ + Misc +BIG_FONTS= Chinese.BIG \ + European.BIG \ + Japanese.BIG +SCALABLE_FONTS= TrueType \ + Type1 +FONTSDIR= lib/X11/fonts/local +T1_FONTSDIR= lib/X11/fonts/Type1 +TT_FONTSDIR= lib/X11/fonts/TrueType +PKGINSTALL= ${WRKDIR}/INSTALL +PKGDEINSTALL= ${WRKDIR}/DEINSTALL +DOCDIR= share/doc/${DISTNAME} + +do-build: + cd ${WRKSRC}; \ + for dir in ${NORMAL_FONTS} ${BIG_FONTS}; do \ + for bdf in $$dir/*.bdf ; do \ + ${ECHO} $$bdf; \ + pcf_gz=`${ECHO} $$bdf | ${SED} 's/.bdf$$/.pcf.gz/'`; \ + ${CAT} $$bdf | bdftopcf | ${GZIP_CMD} \ + > $$pcf_gz; \ + done \ + done + for file in INSTALL DEINSTALL; do \ + ${SED} -e 's,%%FONTSDIR%%,${FONTSDIR},g' \ + -e 's,%%T1_FONTSDIR%%,${T1_FONTSDIR},g' \ + -e 's,%%TT_FONTSDIR%%,${TT_FONTSDIR},g' \ + -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ + < ${FILESDIR}/$${file}.tmpl > ${WRKDIR}/$${file}; \ + done + +pre-install: + @${SETENV} PKG_PREFIX=${PREFIX} \ + ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL + +do-install: + (cd ${WRKSRC}; \ + ${MKDIR} ${PREFIX}/${FONTSDIR}; \ + for dir in ${NORMAL_FONTS} ${BIG_FONTS}; do \ + ${INSTALL_DATA} $$dir/*.pcf.gz ${PREFIX}/${FONTSDIR} ; \ + done; \ + ${MKDIR} ${PREFIX}/${T1_FONTSDIR}; \ + ${INSTALL_DATA} Type1/*.* ${PREFIX}/${T1_FONTSDIR} ; \ + ${MKDIR} ${PREFIX}/${TT_FONTSDIR}; \ + ${INSTALL_DATA} TrueType/*.ttf ${PREFIX}/${TT_FONTSDIR} ; \ + ) + +post-install: + @${SETENV} PKG_PREFIX=${PREFIX} \ + ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/Emacs.ap ${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/${DOCDIR} +.endif + +.include <bsd.port.mk> diff --git a/x11-fonts/intlfonts/distinfo b/x11-fonts/intlfonts/distinfo new file mode 100644 index 000000000000..1c45563d2411 --- /dev/null +++ b/x11-fonts/intlfonts/distinfo @@ -0,0 +1 @@ +MD5 (intlfonts-1.2.tar.gz) = 8def32f5dc707431b8bfb1cdaf8fd9e0 diff --git a/x11-fonts/intlfonts/files/DEINSTALL.tmpl b/x11-fonts/intlfonts/files/DEINSTALL.tmpl new file mode 100644 index 000000000000..b3ce13970536 --- /dev/null +++ b/x11-fonts/intlfonts/files/DEINSTALL.tmpl @@ -0,0 +1,13 @@ +#!/bin/sh + +if [ "x$2" = "xPOST-DEINSTALL" ]; then + cd ${PKG_PREFIX}/%%FONTSDIR%%; ${PKG_PREFIX}/bin/mkfontdir + cd ${PKG_PREFIX}/%%T1_FONTSDIR%%; %%LOCALBASE%%/bin/type1inst -nogs -nolog -quiet + ${PKG_PREFIX}/bin/xset fp rehash || + ( + echo "**********************************************************" + echo "You should restart X server or do 'xset fp rehash' command" + echo "to enable this update." + echo "**********************************************************" + ) +fi diff --git a/x11-fonts/intlfonts/files/INSTALL.tmpl b/x11-fonts/intlfonts/files/INSTALL.tmpl new file mode 100644 index 000000000000..07906a52fcd6 --- /dev/null +++ b/x11-fonts/intlfonts/files/INSTALL.tmpl @@ -0,0 +1,13 @@ +#!/bin/sh + +if [ "x$2" = "xPOST-INSTALL" ]; then + cd ${PKG_PREFIX}/%%FONTSDIR%%; ${PKG_PREFIX}/bin/mkfontdir + cd ${PKG_PREFIX}/%%T1_FONTSDIR%%; %%LOCALBASE%%/bin/type1inst -nogs -nolog -quiet + ${PKG_PREFIX}/bin/xset fp rehash || + ( + echo "**********************************************************" + echo "You should restart X server or do 'xset fp rehash' command" + echo "to enable this update." + echo "**********************************************************" + ) +fi diff --git a/x11-fonts/intlfonts/pkg-comment b/x11-fonts/intlfonts/pkg-comment new file mode 100644 index 000000000000..175b0d5ba0f6 --- /dev/null +++ b/x11-fonts/intlfonts/pkg-comment @@ -0,0 +1 @@ +Free X11 fonts for all characters that Emacs can handle diff --git a/x11-fonts/intlfonts/pkg-descr b/x11-fonts/intlfonts/pkg-descr new file mode 100644 index 000000000000..80a7326591c8 --- /dev/null +++ b/x11-fonts/intlfonts/pkg-descr @@ -0,0 +1,21 @@ +This port is for International Fonts excluding what distributed with X +Window Systems. + +This contains free X11 fonts for all characters that Emacs and XEmacs +can handle. They are classified into several categories. + +European -- European normal size fonts (suitable with the other fonts) +European-BIG -- European big fonts +Asian -- Asian (non-CJK) fonts +Chinese -- Chinese normal size fonts excluding what distributed with X +Chinese.BIG -- Chinese big fonts +Japanese -- Japanese normal size fonts excluding what distributed with X +Japanese.BIG -- Japanese big fonts +Ethiopic -- Ethiopic fonts +Misc -- fonts for the other regions/scripts +TrueType -- Truetype fonts +Type1 -- Postscript Type1 fonts + +If you want to use TrueType fonts on X, you should run X-TT or xfsft. +Then you had better use mkttfdir in perlftlib or ttmkfdir to create +fonts.dir or fonts.scale. diff --git a/x11-fonts/intlfonts/pkg-plist b/x11-fonts/intlfonts/pkg-plist new file mode 100644 index 000000000000..ef774a2edeaf --- /dev/null +++ b/x11-fonts/intlfonts/pkg-plist @@ -0,0 +1,219 @@ +%%FONTSDIR%%/a18rk.pcf.gz +%%FONTSDIR%%/a18rkb.pcf.gz +%%FONTSDIR%%/a18rki.pcf.gz +%%FONTSDIR%%/arab16-0-etl.pcf.gz +%%FONTSDIR%%/arab16-1-etl.pcf.gz +%%FONTSDIR%%/arab16-2-etl.pcf.gz +%%FONTSDIR%%/arab24-0-etl.pcf.gz +%%FONTSDIR%%/arab24-1-etl.pcf.gz +%%FONTSDIR%%/arab24-2-etl.pcf.gz +%%FONTSDIR%%/cc40s.pcf.gz +%%FONTSDIR%%/cc48s.pcf.gz +%%FONTSDIR%%/cns1-16.pcf.gz +%%FONTSDIR%%/cns1-24.pcf.gz +%%FONTSDIR%%/cns1-40.pcf.gz +%%FONTSDIR%%/cns2-16.pcf.gz +%%FONTSDIR%%/cns2-24.pcf.gz +%%FONTSDIR%%/cns2-40.pcf.gz +%%FONTSDIR%%/cns3-16.pcf.gz +%%FONTSDIR%%/cns3-24.pcf.gz +%%FONTSDIR%%/cns3-40.pcf.gz +%%FONTSDIR%%/cns4-16.pcf.gz +%%FONTSDIR%%/cns4-24.pcf.gz +%%FONTSDIR%%/cns4-40.pcf.gz +%%FONTSDIR%%/cns5-16.pcf.gz +%%FONTSDIR%%/cns5-24.pcf.gz +%%FONTSDIR%%/cns5-40.pcf.gz +%%FONTSDIR%%/cns6-16.pcf.gz +%%FONTSDIR%%/cns6-24.pcf.gz +%%FONTSDIR%%/cns6-40.pcf.gz +%%FONTSDIR%%/cns7-16.pcf.gz +%%FONTSDIR%%/cns7-24.pcf.gz +%%FONTSDIR%%/cns7-40.pcf.gz +%%FONTSDIR%%/cyr14-etl.pcf.gz +%%FONTSDIR%%/cyr16-etl.pcf.gz +%%FONTSDIR%%/cyr24-etl.pcf.gz +%%FONTSDIR%%/ethio16f-uni.pcf.gz +%%FONTSDIR%%/ethio24f-uni.pcf.gz +%%FONTSDIR%%/grk14-etl.pcf.gz +%%FONTSDIR%%/grk16-etl.pcf.gz +%%FONTSDIR%%/grk24-etl.pcf.gz +%%FONTSDIR%%/guob16.pcf.gz +%%FONTSDIR%%/heb14-etl.pcf.gz +%%FONTSDIR%%/heb16-etl.pcf.gz +%%FONTSDIR%%/heb24-etl.pcf.gz +%%FONTSDIR%%/ind16-mule.pcf.gz +%%FONTSDIR%%/ind1c16-mule.pcf.gz +%%FONTSDIR%%/ind1c24-mule.pcf.gz +%%FONTSDIR%%/ind24-mule.pcf.gz +%%FONTSDIR%%/ipa14-etl.pcf.gz +%%FONTSDIR%%/ipa16-etl.pcf.gz +%%FONTSDIR%%/ipa24-etl.pcf.gz +%%FONTSDIR%%/isci16-mule.pcf.gz +%%FONTSDIR%%/isci24-mule.pcf.gz +%%FONTSDIR%%/j78-16.pcf.gz +%%FONTSDIR%%/j83-18.pcf.gz +%%FONTSDIR%%/j83-18b.pcf.gz +%%FONTSDIR%%/j83-18i.pcf.gz +%%FONTSDIR%%/j83-32.pcf.gz +%%FONTSDIR%%/j83-48.pcf.gz +%%FONTSDIR%%/j90-16.pcf.gz +%%FONTSDIR%%/jksp16.pcf.gz +%%FONTSDIR%%/jksp24.pcf.gz +%%FONTSDIR%%/jksp40.pcf.gz +%%FONTSDIR%%/koi14-etl.pcf.gz +%%FONTSDIR%%/koi16-etl.pcf.gz +%%FONTSDIR%%/koi24-etl.pcf.gz +%%FONTSDIR%%/lao14-mule.pcf.gz +%%FONTSDIR%%/lao16-mule.pcf.gz +%%FONTSDIR%%/lao18-mule.pcf.gz +%%FONTSDIR%%/lao18b-mule.pcf.gz +%%FONTSDIR%%/lao18i-mule.pcf.gz +%%FONTSDIR%%/lao24-mule.pcf.gz +%%FONTSDIR%%/lt1-14-etl.pcf.gz +%%FONTSDIR%%/lt1-16-etl.pcf.gz +%%FONTSDIR%%/lt1-16b-etl.pcf.gz +%%FONTSDIR%%/lt1-16bi-etl.pcf.gz +%%FONTSDIR%%/lt1-16i-etl.pcf.gz +%%FONTSDIR%%/lt1-18-etl.pcf.gz +%%FONTSDIR%%/lt1-18b-etl.pcf.gz +%%FONTSDIR%%/lt1-18bi-etl.pcf.gz +%%FONTSDIR%%/lt1-18i-etl.pcf.gz +%%FONTSDIR%%/lt1-24-etl.pcf.gz +%%FONTSDIR%%/lt1-24b-etl.pcf.gz +%%FONTSDIR%%/lt1-24bi-etl.pcf.gz +%%FONTSDIR%%/lt1-24i-etl.pcf.gz +%%FONTSDIR%%/lt1-40-etl.pcf.gz +%%FONTSDIR%%/lt2-14-etl.pcf.gz +%%FONTSDIR%%/lt2-16-etl.pcf.gz +%%FONTSDIR%%/lt2-24-etl.pcf.gz +%%FONTSDIR%%/lt3-14-etl.pcf.gz +%%FONTSDIR%%/lt3-16-etl.pcf.gz +%%FONTSDIR%%/lt3-24-etl.pcf.gz +%%FONTSDIR%%/lt4-14-etl.pcf.gz +%%FONTSDIR%%/lt4-16-etl.pcf.gz +%%FONTSDIR%%/lt4-24-etl.pcf.gz +%%FONTSDIR%%/lt5-14-etl.pcf.gz +%%FONTSDIR%%/lt5-16-etl.pcf.gz +%%FONTSDIR%%/lt5-24-etl.pcf.gz +%%FONTSDIR%%/sish14-etl.pcf.gz +%%FONTSDIR%%/sish16-etl.pcf.gz +%%FONTSDIR%%/sish24-etl.pcf.gz +%%FONTSDIR%%/taipei16.pcf.gz +%%FONTSDIR%%/taipei24.pcf.gz +%%FONTSDIR%%/thai14.pcf.gz +%%FONTSDIR%%/thai16.pcf.gz +%%FONTSDIR%%/thai18.pcf.gz +%%FONTSDIR%%/thai18b.pcf.gz +%%FONTSDIR%%/thai18bi.pcf.gz +%%FONTSDIR%%/thai18i.pcf.gz +%%FONTSDIR%%/thai24.pcf.gz +%%FONTSDIR%%/tib16-mule.pcf.gz +%%FONTSDIR%%/tib1c16-mule.pcf.gz +%%FONTSDIR%%/tib1c24-mule.pcf.gz +%%FONTSDIR%%/tib24-mule.pcf.gz +%%FONTSDIR%%/visc16-etl.pcf.gz +%%FONTSDIR%%/visc18-etl.pcf.gz +%%FONTSDIR%%/visc18b-etl.pcf.gz +%%FONTSDIR%%/visc18bi-etl.pcf.gz +%%FONTSDIR%%/visc18i-etl.pcf.gz +%%FONTSDIR%%/visc24-etl.pcf.gz +%%FONTSDIR%%/xtis18.pcf.gz +%%FONTSDIR%%/xtis24.pcf.gz +%%T1_FONTSDIR%%/lt1-b-omega-serif.afm +%%T1_FONTSDIR%%/lt1-b-omega-serif.pfa +%%T1_FONTSDIR%%/lt1-b-omega-serif.pfb +%%T1_FONTSDIR%%/lt1-bi-omega-serif.afm +%%T1_FONTSDIR%%/lt1-bi-omega-serif.pfa +%%T1_FONTSDIR%%/lt1-bi-omega-serif.pfb +%%T1_FONTSDIR%%/lt1-i-omega-serif.afm +%%T1_FONTSDIR%%/lt1-i-omega-serif.pfa +%%T1_FONTSDIR%%/lt1-i-omega-serif.pfb +%%T1_FONTSDIR%%/lt1-r-omega-serif.afm +%%T1_FONTSDIR%%/lt1-r-omega-serif.pfa +%%T1_FONTSDIR%%/lt1-r-omega-serif.pfb +%%T1_FONTSDIR%%/lt2-b-omega-serif.afm +%%T1_FONTSDIR%%/lt2-b-omega-serif.pfa +%%T1_FONTSDIR%%/lt2-b-omega-serif.pfb +%%T1_FONTSDIR%%/lt2-bi-omega-serif.afm +%%T1_FONTSDIR%%/lt2-bi-omega-serif.pfa +%%T1_FONTSDIR%%/lt2-bi-omega-serif.pfb +%%T1_FONTSDIR%%/lt2-i-omega-serif.afm +%%T1_FONTSDIR%%/lt2-i-omega-serif.pfa +%%T1_FONTSDIR%%/lt2-i-omega-serif.pfb +%%T1_FONTSDIR%%/lt2-r-omega-serif.afm +%%T1_FONTSDIR%%/lt2-r-omega-serif.pfa +%%T1_FONTSDIR%%/lt2-r-omega-serif.pfb +%%T1_FONTSDIR%%/lt3-b-omega-serif.afm +%%T1_FONTSDIR%%/lt3-b-omega-serif.pfa +%%T1_FONTSDIR%%/lt3-b-omega-serif.pfb +%%T1_FONTSDIR%%/lt3-bi-omega-serif.afm +%%T1_FONTSDIR%%/lt3-bi-omega-serif.pfa +%%T1_FONTSDIR%%/lt3-bi-omega-serif.pfb +%%T1_FONTSDIR%%/lt3-i-omega-serif.afm +%%T1_FONTSDIR%%/lt3-i-omega-serif.pfa +%%T1_FONTSDIR%%/lt3-i-omega-serif.pfb +%%T1_FONTSDIR%%/lt3-r-omega-serif.afm +%%T1_FONTSDIR%%/lt3-r-omega-serif.pfa +%%T1_FONTSDIR%%/lt3-r-omega-serif.pfb +%%T1_FONTSDIR%%/lt4-b-omega-serif.afm +%%T1_FONTSDIR%%/lt4-b-omega-serif.pfa +%%T1_FONTSDIR%%/lt4-b-omega-serif.pfb +%%T1_FONTSDIR%%/lt4-bi-omega-serif.afm +%%T1_FONTSDIR%%/lt4-bi-omega-serif.pfa +%%T1_FONTSDIR%%/lt4-bi-omega-serif.pfb +%%T1_FONTSDIR%%/lt4-i-omega-serif.afm +%%T1_FONTSDIR%%/lt4-i-omega-serif.pfa +%%T1_FONTSDIR%%/lt4-i-omega-serif.pfb +%%T1_FONTSDIR%%/lt4-r-omega-serif.afm +%%T1_FONTSDIR%%/lt4-r-omega-serif.pfa +%%T1_FONTSDIR%%/lt4-r-omega-serif.pfb +%%T1_FONTSDIR%%/lt5-b-omega-serif.afm +%%T1_FONTSDIR%%/lt5-b-omega-serif.pfa +%%T1_FONTSDIR%%/lt5-b-omega-serif.pfb +%%T1_FONTSDIR%%/lt5-bi-omega-serif.afm +%%T1_FONTSDIR%%/lt5-bi-omega-serif.pfa +%%T1_FONTSDIR%%/lt5-bi-omega-serif.pfb +%%T1_FONTSDIR%%/lt5-i-omega-serif.afm +%%T1_FONTSDIR%%/lt5-i-omega-serif.pfa +%%T1_FONTSDIR%%/lt5-i-omega-serif.pfb +%%T1_FONTSDIR%%/lt5-r-omega-serif.afm +%%T1_FONTSDIR%%/lt5-r-omega-serif.pfa +%%T1_FONTSDIR%%/lt5-r-omega-serif.pfb +%%T1_FONTSDIR%%/nf3.afm +%%T1_FONTSDIR%%/nf3.pfa +%%T1_FONTSDIR%%/nf3.pfb +%%T1_FONTSDIR%%/nf3i.afm +%%T1_FONTSDIR%%/nf3i.pfa +%%T1_FONTSDIR%%/nf3i.pfb +%%T1_FONTSDIR%%/tis620-r-omega-serif.afm +%%T1_FONTSDIR%%/tis620-r-omega-serif.pfa +%%T1_FONTSDIR%%/tis620-r-omega-serif.pfb +%%T1_FONTSDIR%%/viscii-r-omega-serif.afm +%%T1_FONTSDIR%%/viscii-r-omega-serif.pfa +%%T1_FONTSDIR%%/viscii-r-omega-serif.pfb +%%TT_FONTSDIR%%/lt1-b-omega-serif.ttf +%%TT_FONTSDIR%%/lt1-bi-omega-serif.ttf +%%TT_FONTSDIR%%/lt1-i-omega-serif.ttf +%%TT_FONTSDIR%%/lt1-r-omega-serif.ttf +%%TT_FONTSDIR%%/lt2-b-omega-serif.ttf +%%TT_FONTSDIR%%/lt2-bi-omega-serif.ttf +%%TT_FONTSDIR%%/lt2-i-omega-serif.ttf +%%TT_FONTSDIR%%/lt2-r-omega-serif.ttf +%%TT_FONTSDIR%%/lt3-b-omega-serif.ttf +%%TT_FONTSDIR%%/lt3-bi-omega-serif.ttf +%%TT_FONTSDIR%%/lt3-i-omega-serif.ttf +%%TT_FONTSDIR%%/lt3-r-omega-serif.ttf +%%TT_FONTSDIR%%/lt4-b-omega-serif.ttf +%%TT_FONTSDIR%%/lt4-bi-omega-serif.ttf +%%TT_FONTSDIR%%/lt4-i-omega-serif.ttf +%%TT_FONTSDIR%%/lt4-r-omega-serif.ttf +%%TT_FONTSDIR%%/lt5-b-omega-serif.ttf +%%TT_FONTSDIR%%/lt5-bi-omega-serif.ttf +%%TT_FONTSDIR%%/lt5-i-omega-serif.ttf +%%TT_FONTSDIR%%/lt5-r-omega-serif.ttf +%%TT_FONTSDIR%%/viscii-omega-serif.ttf +%%DOCDIR%%/README +%%DOCDIR%%/Emacs.ap +%%DOCDIR%%/NEWS +@dirrm %%DOCDIR%% diff --git a/x11-fonts/intlfonts/pkg-req b/x11-fonts/intlfonts/pkg-req new file mode 100644 index 000000000000..b040f23ad359 --- /dev/null +++ b/x11-fonts/intlfonts/pkg-req @@ -0,0 +1,22 @@ +#!/bin/sh + +if [ "x$1" = "x" ]; then + exit 1; +fi +if [ "x$2" != "xINSTALL" -a "x$2" != "xDEINSTALL" ]; then + exit 1; +fi + +export FONTDIR; FONTDIR=${PKG_PREFIX}/lib/X11/fonts/local + +if [ "$2x" = "INSTALLx" -a ! -d ${FONTDIR} ]; then + echo '**********************************************************************' + echo "****** ${FONTDIR}/ doesn't exist." + echo "****** Creating ${FONTDIR}/" + echo '****** Please upgrade your XFree86 to 3.3.3 or upper,' + echo "****** or add this directory to your /etc/XF86Config's FontPath entry." + echo '**********************************************************************' + mkdir ${FONTDIR} +fi + +exit 0; |