1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Move fonts to ${X11BASE}/lib/X11/fonts/local.

PR:		8707
Submitted by:	maintainer
This commit is contained in:
Satoshi Asami 1998-11-17 02:31:50 +00:00
parent 868ab2a910
commit a43e47137e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=14581
4 changed files with 37 additions and 11 deletions

View File

@ -3,12 +3,12 @@
# Date created: Fri Mar 27 17:26:42 KST 1998
# Whom: CHOI Junho <junker@jazz.snu.ac.kr>
#
# $Id: Makefile,v 1.2 1998/08/05 09:31:22 asami Exp $
# $Id: Makefile,v 1.3 1998/08/07 22:43:11 asami Exp $
#
DISTNAME= ko-kaistfonts-ksc-1.0
CATEGORIES= korean x11-fonts
MASTER_SITES= ftp://sensor.kaist.ac.kr/pub/fonts/newones/
MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
DISTFILES= kaist-newmj18.bdf.gz ks_philgi16.bdf.gz \
kaist-newmj16.bdf.gz ks_iyagi16.bdf.gz
@ -27,4 +27,7 @@ do-extract:
${GUNZIP_CMD} -c < ${_DISTDIR}/$$file > `echo $$file | ${SED} -e 's/\.Z//' -e 's/\.gz//'`; \
done
post-install:
${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>

View File

@ -10,11 +10,11 @@
+all: ${PCF}
+
+install:
+ mkdir -p ${PREFIX}/lib/X11/fonts/misc
+ -mkdir -p ${PREFIX}/lib/X11/fonts/local
+ for i in ${PCF}; do \
+ gzip -c < $$i > ${PREFIX}/lib/X11/fonts/misc/$$i.gz; \
+ gzip -c < $$i > ${PREFIX}/lib/X11/fonts/local/$$i.gz; \
+ done
+ cd ${PREFIX}/lib/X11/fonts/misc/ ; mkfontdir
+ cd ${PREFIX}/lib/X11/fonts/local/ ; mkfontdir
+
+.bdf.pcf:
+ bdftopcf $*.bdf > $*.pcf

View File

@ -0,0 +1,23 @@
KAIST Font(KSC5601)
===================
Please note:
This package installed fonts in /usr/X11R6/lib/X11/fonts/local directory.
If you are using XFree86 3.3.2 or older, please upgrade to a new version
or add this directory to your /etc/XF86config:
Section "Files"
...
FontPath "/usr/X11R6/lib/X11/fonts/local/"
...
Or, run this command at your X desktop:
# xset +fp /usr/X11R6/lib/X11/fonts/local/ && xset fp rehash
Don't forget to add the directory to your /etc/XF86config, for
add the correct font path after you reboots X.
--
CHOI Junho <junker@jazz.snu.ac.kr>

View File

@ -1,6 +1,6 @@
lib/X11/fonts/misc/kaist-newmj16.pcf.gz
lib/X11/fonts/misc/kaist-newmj18.pcf.gz
lib/X11/fonts/misc/ks_iyagi16.pcf.gz
lib/X11/fonts/misc/ks_philgi16.pcf.gz
@exec cd %D/lib/X11/fonts/misc ; mkfontdir
@unexec cd %D/lib/X11/fonts/misc ; mkfontdir
lib/X11/fonts/local/kaist-newmj16.pcf.gz
lib/X11/fonts/local/kaist-newmj18.pcf.gz
lib/X11/fonts/local/ks_iyagi16.pcf.gz
lib/X11/fonts/local/ks_philgi16.pcf.gz
@exec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
@unexec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir