summaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1998-09-18 22:49:25 +0000
committerkuriyama <kuriyama@FreeBSD.org>1998-09-18 22:49:25 +0000
commit94457f0d08d6c09037a39c8005d536522d34c849 (patch)
tree322a46ec18e4771de362cc59013992ddcb240da2 /japanese
parentad112eb3b95506feaf2a04b3b131a79760131a67 (diff)
downloadFreeBSD-ports-94457f0d08d6c09037a39c8005d536522d34c849.zip
FreeBSD-ports-94457f0d08d6c09037a39c8005d536522d34c849.tar.gz
X11 8-dot kanji font 'elisa font'
PR: ports/7716 Submitted by: Toshihiko SHIMOKAWA <toshi@tea.forus.or.jp>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/elisa8x8/Makefile60
-rw-r--r--japanese/elisa8x8/distinfo1
-rw-r--r--japanese/elisa8x8/pkg-comment1
-rw-r--r--japanese/elisa8x8/pkg-descr7
-rw-r--r--japanese/elisa8x8/pkg-plist18
5 files changed, 87 insertions, 0 deletions
diff --git a/japanese/elisa8x8/Makefile b/japanese/elisa8x8/Makefile
new file mode 100644
index 0000000..daf71c1
--- /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 0000000..e703200
--- /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 0000000..72b78b6
--- /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 0000000..b4a1037
--- /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 0000000..cd4096a
--- /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
OpenPOWER on IntegriCloud