diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-09-18 22:49:25 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-09-18 22:49:25 +0000 |
commit | 2ea76120dc058dc96b7937dc5819703e34ec681d (patch) | |
tree | 8b1f29b24c6a9065e720e7631f67da01b73659d8 /japanese | |
parent | 797d8ec1b5837fafeeaa0f9e652f5bb45344d361 (diff) | |
download | ports-2ea76120dc058dc96b7937dc5819703e34ec681d.tar.gz ports-2ea76120dc058dc96b7937dc5819703e34ec681d.zip |
X11 8-dot kanji font 'elisa font'
PR: ports/7716
Submitted by: Toshihiko SHIMOKAWA <toshi@tea.forus.or.jp>
Notes
Notes:
svn path=/head/; revision=13224
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/elisa8x8/Makefile | 60 | ||||
-rw-r--r-- | japanese/elisa8x8/distinfo | 1 | ||||
-rw-r--r-- | japanese/elisa8x8/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/elisa8x8/pkg-descr | 7 | ||||
-rw-r--r-- | japanese/elisa8x8/pkg-plist | 18 |
5 files changed, 87 insertions, 0 deletions
diff --git a/japanese/elisa8x8/Makefile b/japanese/elisa8x8/Makefile new file mode 100644 index 000000000000..daf71c15bea5 --- /dev/null +++ b/japanese/elisa8x8/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: elisa8x8 +# Version required: 1.0 +# Date created: 17 Aug. 1998 +# Whom: Toshihiko SHIMOKAWA <toshi@tea.forus.or.jp> & ELISA Font Project +# +# $Id$ +# + +DISTNAME= elisat10 +PKGNAME= ja-elisa8x8-1.0 +CATEGORIES= japanese x11-fonts +MASTER_SITES= http://www.tea.forus.or.jp/toshi/exhibition/ + +MAINTAINER= toshi@tea.forus.or.jp + +USE_X_PREFIX= yes +NO_WRKSUBDIR= yes + +BDFTOPCF_CMD= ${PREFIX}/bin/bdftopcf +MKFONTDIR_CMD= ${PREFIX}/bin/mkfontdir +FONTSDIR= ${PREFIX}/lib/X11/fonts/misc +DOCDIR= ${PREFIX}/share/doc/elisa +PORTDOCS= elisa100.doc elisat10.doc elisat10.html + +do-build: + @(cd ${WRKDIR}; \ + ${BDFTOPCF_CMD} elisat10.bdf | ${GZIP_CMD} -9 > elisat10.pcf.gz ;\ + ${BDFTOPCF_CMD} jpnhn4-jis.bdf | ${GZIP_CMD} -9 > jpnhn4-jis.pcf.gz ;\ + ${BDFTOPCF_CMD} jpnhn4-iso.bdf | ${GZIP_CMD} -9 > jpnhn4-iso.pcf.gz ;\ + ) + +do-install: + @${MKDIR} ${FONTSDIR} ${DOCDIR} + @(cd ${WRKSRC} ;\ + ${INSTALL_DATA} elisat10.pcf.gz ${FONTSDIR} ;\ + ${INSTALL_DATA} jpnhn4-jis.pcf.gz ${FONTSDIR} ;\ + ${INSTALL_DATA} jpnhn4-iso.pcf.gz ${FONTSDIR} ;\ + ${INSTALL_DATA} ${PORTDOCS} ${DOCDIR} ;\ + ${ECHO} "Updating fonts.dir" ;\ + ${MKFONTDIR_CMD} ${FONTSDIR} ;\ + ${ECHO} "Updating fonts.alias" ;\ + ${TOUCH} ${FONTSDIR}/fonts.alias ;\ + ${CAT} ${FONTSDIR}/fonts.alias fonts.alias > fonts.alias.tmp ;\ + ${INSTALL_DATA} fonts.alias.tmp ${FONTSDIR} ;\ + ${MV} -f ${FONTSDIR}/fonts.alias.tmp ${FONTSDIR}/fonts.alias ;\ + ) + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCDIR} + @(cd ${WRKSRC} ;\ + ${INSTALL_DATA} ${PORTDOCS} ${DOCDIR} ;\ + ) +.endif + @${ECHO} "**********************************************************" + @${ECHO} "You should restart X server or do 'xset fp rehash' command" + @${ECHO} "to use installed fonts." + @${ECHO} "**********************************************************" + +.include <bsd.port.mk> diff --git a/japanese/elisa8x8/distinfo b/japanese/elisa8x8/distinfo new file mode 100644 index 000000000000..e703200174a9 --- /dev/null +++ b/japanese/elisa8x8/distinfo @@ -0,0 +1 @@ +MD5 (elisat10.tar.gz) = 475b20c57d41e53437459cdf55995ebc diff --git a/japanese/elisa8x8/pkg-comment b/japanese/elisa8x8/pkg-comment new file mode 100644 index 000000000000..72b78b61e62e --- /dev/null +++ b/japanese/elisa8x8/pkg-comment @@ -0,0 +1 @@ +X11 8-dot kanji font 'elisa font' diff --git a/japanese/elisa8x8/pkg-descr b/japanese/elisa8x8/pkg-descr new file mode 100644 index 000000000000..b4a103732c3a --- /dev/null +++ b/japanese/elisa8x8/pkg-descr @@ -0,0 +1,7 @@ +Japanese 8 dot font named `elisa font'. + +You can use 'k8', 'r8', 'a8' as an alias for elisa font, 4x8 dots +jis.x0201 font, 4x8 dots iso8859-1 font. + +A simple usage: + % kterm -fn a8 -fr r8 -fk k8 diff --git a/japanese/elisa8x8/pkg-plist b/japanese/elisa8x8/pkg-plist new file mode 100644 index 000000000000..cd4096aa5957 --- /dev/null +++ b/japanese/elisa8x8/pkg-plist @@ -0,0 +1,18 @@ +lib/X11/fonts/misc/elisat10.pcf.gz +lib/X11/fonts/misc/jpnhn4-jis.pcf.gz +lib/X11/fonts/misc/jpnhn4-iso.pcf.gz +share/doc/elisa/elisa100.doc +share/doc/elisa/elisat10.doc +share/doc/elisa/elisat10.html +@exec echo "Updating fonts.dir" +@exec mkfontdir %D/lib/X11/fonts/misc +@exec echo "Updating fonts.alias" +@exec cd %D/lib/X11/fonts/misc ; touch fonts.alias ; cp fonts.alias fonts.alias.orig ; (cat fonts.alias.orig ; echo "k8 -elisa100-fixed-medium-r-normal--8-70-75-75-c-80-jisx0208.1983-0" ; echo "r8 -hiro-fixed-medium-r-normal--8-70-75-75-c-40-jisx0201.1976-0"; echo "a8 -hiro-fixed-medium-r-normal--8-70-75-75-c-40-iso8859-1"; echo "4x8 -hiro-fixed-medium-r-normal--8-70-75-75-c-40-iso8859-1" ) > fonts.alias ; rm fonts.alias.orig +@unexec echo "Updating fonts.dir" +@unexec mkfontdir %D/lib/X11/fonts/misc +@unexec echo "updating fonts.alias" ; cd %D/lib/X11/fonts/misc; cp fonts.alias fonts.alias.orig; grep -v 'elisa100\-fixed\-medium\-r\-normal' fonts.alias.orig | grep -v 'hiro\-fixed\-medium\-r\-normal' > fonts.alias; rm fonts.alias.orig +@exec echo "**********************************************************" +@exec echo "You should restart X server or do 'xset fp rehash' command" +@exec echo "to use installed fonts." +@exec echo "**********************************************************" +@dirrm share/doc/elisa |