diff options
author | tron <tron@pkgsrc.org> | 2002-07-05 19:01:28 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2002-07-05 19:01:28 +0000 |
commit | b7905c3552c31e70c74a03429c5efa29e5177bae (patch) | |
tree | 5b902f505058a259bdfaffe5d19cdddbbd3caa66 | |
parent | cd21fd6491575e8fab450240abe956643d8d455a (diff) | |
download | pkgsrc-b7905c3552c31e70c74a03429c5efa29e5177bae.tar.gz |
Import new "efont-unicode" package: Free unicode BDF font
This package was contributed by Masao Uebayashi in PR pkg/14727.
-rw-r--r-- | fonts/efont-unicode/DESCR | 1 | ||||
-rw-r--r-- | fonts/efont-unicode/MESSAGE | 32 | ||||
-rw-r--r-- | fonts/efont-unicode/Makefile | 49 | ||||
-rw-r--r-- | fonts/efont-unicode/PLIST | 44 | ||||
-rw-r--r-- | fonts/efont-unicode/distinfo | 4 |
5 files changed, 130 insertions, 0 deletions
diff --git a/fonts/efont-unicode/DESCR b/fonts/efont-unicode/DESCR new file mode 100644 index 00000000000..2241cb6834a --- /dev/null +++ b/fonts/efont-unicode/DESCR @@ -0,0 +1 @@ +This is the /efont/ Unicode fonts made by /efont/ project. diff --git a/fonts/efont-unicode/MESSAGE b/fonts/efont-unicode/MESSAGE new file mode 100644 index 00000000000..f1a462c7eed --- /dev/null +++ b/fonts/efont-unicode/MESSAGE @@ -0,0 +1,32 @@ +====================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2002/07/05 19:01:33 tron Exp $ + +You can tell one existing X session on the installed host to use the +new "efont-unicode" fonts with: + + $ xset +fp ${PREFIX}/${FONTDIR} + +To make the effect permanent for future X sessions, you will have to +edit certain files in yout X installation. + +For example if you are only using the "startx" command to start a local +X session then you would add the above command to your ~/.xinitrc +script. + +If you're running a local X server from xdm then you would need to set +the complete set of font directories in the xdm/Xservers file with the +'-fp' option common to all X servers. + +If you are using the X font server (xfs) then you would add the +efont-unicode install directory to the xfs/config file in the comma +separated list of directories given for the "catalogue" setting. +For example: + + catalogue = ${PREFIX}/lib/X11/fonts/misc/, + ${PREFIX}/lib/X11/fonts/Speedo/, + ${PREFIX}/lib/X11/fonts/Type1/, + ${PREFIX}/lib/X11/fonts/100dpi/, + ${PREFIX}/lib/X11/fonts/75dpi/, + ${PREFIX}/lib/X11/fonts/efont-unicode/ + +====================================================================== diff --git a/fonts/efont-unicode/Makefile b/fonts/efont-unicode/Makefile new file mode 100644 index 00000000000..8eac64e2041 --- /dev/null +++ b/fonts/efont-unicode/Makefile @@ -0,0 +1,49 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/07/05 19:01:28 tron Exp $ + +DISTNAME= efont-unicode-bdf-0.4.0 +PKGNAME= ${DISTNAME:S/-bdf//} +CATEGORIES= fonts x11 +MASTER_SITES= http://openlab.ring.gr.jp/efont/dist/unicode-bdf/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= uebayasi@soum.co.jp +HOMEPAGE= http://openlab.ring.gr.jp/efont/unicode/ +COMMENT= Free unicode BDF font + +USE_X11BASE= YES + +MESSAGE_SUBST+= FONTDIR=${FONTDIR} +PLIST_SUBST+= FONTDIR=${FONTDIR} + +FONTS= b10 b10_b b10_bi b10_i\ + b12 b12_b b12_bi b12_i\ + b14 b14_b b14_bi b14_i\ + b16 b16_b b16_bi b16_i\ + b24 b24_b b24_bi b24_i\ + h10 h10_b h10_bi h10_i\ + h12 h12_b h12_bi h12_i\ + h14 h14_b h14_bi h14_i\ + h16 h16_b h16_bi h16_i\ + h24 h24_b h24_bi h24_i +FONTDIR= lib/X11/fonts/efont + +do-build: + @cd ${WRKSRC}; \ + for FONT in ${FONTS}; do \ + ${ECHO} -n "Compiling font $${FONT} ... "; \ + ${X11BASE}/bin/bdftopcf $${FONT}.bdf | \ + ${GZIP_CMD} -c >$${FONT}.pcf.gz; \ + ${ECHO} "done"; \ + done + +do-install: + @${INSTALL_DATA_DIR} ${PREFIX}/${FONTDIR} + @for FONT in ${FONTS}; do \ + ${ECHO} -n "Installing font $${FONT} ... "; \ + ${INSTALL_DATA} ${WRKSRC}/$${FONT}.pcf.gz \ + ${PREFIX}/${FONTDIR}; \ + ${ECHO} "done"; \ + done + @cd ${PREFIX}/${FONTDIR}; ${X11BASE}/bin/mkfontdir + +.include "../../mk/bsd.pkg.mk" diff --git a/fonts/efont-unicode/PLIST b/fonts/efont-unicode/PLIST new file mode 100644 index 00000000000..f6f3a6aad4f --- /dev/null +++ b/fonts/efont-unicode/PLIST @@ -0,0 +1,44 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/05 19:01:33 tron Exp $ +${FONTDIR}/b10.pcf.gz +${FONTDIR}/b10_b.pcf.gz +${FONTDIR}/b10_bi.pcf.gz +${FONTDIR}/b10_i.pcf.gz +${FONTDIR}/b12.pcf.gz +${FONTDIR}/b12_b.pcf.gz +${FONTDIR}/b12_bi.pcf.gz +${FONTDIR}/b12_i.pcf.gz +${FONTDIR}/b14.pcf.gz +${FONTDIR}/b14_b.pcf.gz +${FONTDIR}/b14_bi.pcf.gz +${FONTDIR}/b14_i.pcf.gz +${FONTDIR}/b16.pcf.gz +${FONTDIR}/b16_b.pcf.gz +${FONTDIR}/b16_bi.pcf.gz +${FONTDIR}/b16_i.pcf.gz +${FONTDIR}/b24.pcf.gz +${FONTDIR}/b24_b.pcf.gz +${FONTDIR}/b24_bi.pcf.gz +${FONTDIR}/b24_i.pcf.gz +${FONTDIR}/h10.pcf.gz +${FONTDIR}/h10_b.pcf.gz +${FONTDIR}/h10_bi.pcf.gz +${FONTDIR}/h10_i.pcf.gz +${FONTDIR}/h12.pcf.gz +${FONTDIR}/h12_b.pcf.gz +${FONTDIR}/h12_bi.pcf.gz +${FONTDIR}/h12_i.pcf.gz +${FONTDIR}/h14.pcf.gz +${FONTDIR}/h14_b.pcf.gz +${FONTDIR}/h14_bi.pcf.gz +${FONTDIR}/h14_i.pcf.gz +${FONTDIR}/h16.pcf.gz +${FONTDIR}/h16_b.pcf.gz +${FONTDIR}/h16_bi.pcf.gz +${FONTDIR}/h16_i.pcf.gz +${FONTDIR}/h24.pcf.gz +${FONTDIR}/h24_b.pcf.gz +${FONTDIR}/h24_bi.pcf.gz +${FONTDIR}/h24_i.pcf.gz +@exec cd %D/${FONTDIR} && ${X11BASE}/bin/mkfontdir +@unexec rm -f %D/${FONTDIR}/fonts.dir +@dirrm ${FONTDIR} diff --git a/fonts/efont-unicode/distinfo b/fonts/efont-unicode/distinfo new file mode 100644 index 00000000000..2a918f7abe0 --- /dev/null +++ b/fonts/efont-unicode/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/07/05 19:01:28 tron Exp $ + +SHA1 (efont-unicode-bdf-0.4.0.tar.bz2) = f68ceccbdd541bb1f932236c9925f0e099382e18 +Size (efont-unicode-bdf-0.4.0.tar.bz2) = 12197902 bytes |