diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 2000-01-08 01:24:41 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 2000-01-08 01:24:41 +0000 |
commit | fc5085051e04cf3e7129892244213800f66d1b77 (patch) | |
tree | 92c55805db044f82c716f961a8698b6d750b3c88 /japanese/kanji26 | |
parent | bf0f718e1b040831f2edb68c2d78cca44d3b5232 (diff) | |
download | ports-fc5085051e04cf3e7129892244213800f66d1b77.tar.gz ports-fc5085051e04cf3e7129892244213800f66d1b77.zip |
X11 26-dot kanji font
PR: 15394
Submitted by: Yoshiro MIHIRA <sanpei@jp.FreeBSD.org>
Notes
Notes:
svn path=/head/; revision=24533
Diffstat (limited to 'japanese/kanji26')
-rw-r--r-- | japanese/kanji26/Makefile | 17 | ||||
-rw-r--r-- | japanese/kanji26/distinfo | 15 | ||||
-rw-r--r-- | japanese/kanji26/files/DEINSTALL.tmpl | 12 | ||||
-rw-r--r-- | japanese/kanji26/files/INSTALL.tmpl | 12 | ||||
-rw-r--r-- | japanese/kanji26/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/kanji26/pkg-descr | 6 | ||||
-rw-r--r-- | japanese/kanji26/pkg-plist | 8 | ||||
-rw-r--r-- | japanese/kanji26/pkg-req | 48 |
8 files changed, 119 insertions, 0 deletions
diff --git a/japanese/kanji26/Makefile b/japanese/kanji26/Makefile new file mode 100644 index 000000000000..82117652104a --- /dev/null +++ b/japanese/kanji26/Makefile @@ -0,0 +1,17 @@ +# New ports collection makefile for: kanji26 +# Version required: 1.0 +# Date created: 23 November 1999 +# Whom: Yoshiro MIHIRA <sanpei@jp.FreeBSD.org> +# +# $FreeBSD$ +# + +DISTNAME?= kanji26 +DISTFILES?= 793.gz 794.gz 795.gz 796.gz 797.gz 798.gz 799.gz \ + 800.gz 802.gz 816.gz 817.gz 818.gz 819.gz 820.gz 821.gz + +README_FILE?= 793.gz +RESIZESED_FILE?= 26to24.sed +RESIZED_ALIAS_FILE?= kanji24.alias + +.include "${.CURDIR}/../kanji18/Makefile" diff --git a/japanese/kanji26/distinfo b/japanese/kanji26/distinfo new file mode 100644 index 000000000000..d1ef4da43121 --- /dev/null +++ b/japanese/kanji26/distinfo @@ -0,0 +1,15 @@ +MD5 (kanji26/793.gz) = 99a84bd619f0cdbcb464c7448c4078f1 +MD5 (kanji26/794.gz) = 09995da7366c6bdf17be9db55b3c3229 +MD5 (kanji26/795.gz) = a9aeeb3c9158f13eb3d5dcac808c3abc +MD5 (kanji26/796.gz) = ead5607fe8db619c73f502bae55c0bd7 +MD5 (kanji26/797.gz) = f59c9ff95912fc09bd751011434669de +MD5 (kanji26/798.gz) = 64ef256d9cf6fb8c9b1961486212d1cf +MD5 (kanji26/799.gz) = 321e203f223753ebf16569f77fabe522 +MD5 (kanji26/800.gz) = 5b737322b6bb4289c3497062abc0f712 +MD5 (kanji26/802.gz) = 722b3d1e39c8645d21439113309b021c +MD5 (kanji26/816.gz) = 9dc880dc8cba35fdfbe7523f54a43329 +MD5 (kanji26/817.gz) = c5aa82c9b311f3935a2ff7c56199701f +MD5 (kanji26/818.gz) = 90dfd54150a573351212460044e71489 +MD5 (kanji26/819.gz) = 4caefaf5dc6ff6b0738d3b1885752d4a +MD5 (kanji26/820.gz) = f9f76dedfaffb45d629bf725aaa50f91 +MD5 (kanji26/821.gz) = 6b985e51fcae65c3328b55bd5e85922e diff --git a/japanese/kanji26/files/DEINSTALL.tmpl b/japanese/kanji26/files/DEINSTALL.tmpl new file mode 100644 index 000000000000..ee96237b0b93 --- /dev/null +++ b/japanese/kanji26/files/DEINSTALL.tmpl @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ "x$2" = "xPOST-DEINSTALL" ]; then + cd ${PKG_PREFIX}/%%FONTSDIR%%; ${PKG_PREFIX}/bin/mkfontdir + ${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/japanese/kanji26/files/INSTALL.tmpl b/japanese/kanji26/files/INSTALL.tmpl new file mode 100644 index 000000000000..77be2d3b8f9e --- /dev/null +++ b/japanese/kanji26/files/INSTALL.tmpl @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ "x$2" = "xPOST-INSTALL" ]; then + cd ${PKG_PREFIX}/%%FONTSDIR%%; ${PKG_PREFIX}/bin/mkfontdir + ${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/japanese/kanji26/pkg-comment b/japanese/kanji26/pkg-comment new file mode 100644 index 000000000000..de35bb8f11c3 --- /dev/null +++ b/japanese/kanji26/pkg-comment @@ -0,0 +1 @@ +X11 26-dot kanji font diff --git a/japanese/kanji26/pkg-descr b/japanese/kanji26/pkg-descr new file mode 100644 index 000000000000..b545d1d789ca --- /dev/null +++ b/japanese/kanji26/pkg-descr @@ -0,0 +1,6 @@ +Japanese 26 dot mincho font. + + Bitmap font is installed the following directory tree: + ${X11BASE}/lib/X11/fonts/local/ + +MIHIRA Yoshiro diff --git a/japanese/kanji26/pkg-plist b/japanese/kanji26/pkg-plist new file mode 100644 index 000000000000..19988c37c59d --- /dev/null +++ b/japanese/kanji26/pkg-plist @@ -0,0 +1,8 @@ +%%FONTSDIR%%/kanji26.pcf.gz +share/doc/kanji26/26to24.sed +share/doc/kanji26/README.kanji26 +share/doc/kanji26/kanji24.alias +share/doc/kanji26/kanji26.alias +@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir +@unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir +@dirrm share/doc/kanji26 diff --git a/japanese/kanji26/pkg-req b/japanese/kanji26/pkg-req new file mode 100644 index 000000000000..de3f17c15102 --- /dev/null +++ b/japanese/kanji26/pkg-req @@ -0,0 +1,48 @@ +#!/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 + +# font alias entry here! +TMPFILE=/tmp/install-fonts-alias-$$ +cat << EOF > ${TMPFILE} +kanji26 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 +-jis-fixed-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 +-jis-fixed-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 +-jis-mincho-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 +EOF + +echo "Updating ${FONTDIR}/fonts.alias" +cd ${FONTDIR} +touch fonts.alias +cp fonts.alias fonts.alias.orig +if [ "$2" = "INSTALL" ] ; then + (grep -v -e "`cat ${TMPFILE}`" fonts.alias.orig ; \ + cat ${TMPFILE}) > fonts.alias +elif [ "$2" = "DEINSTALL" ] ; then + grep -v -- "`cat ${TMPFILE}`" fonts.alias.orig > fonts.alias +fi +rm -f fonts.alias.orig ${TMPFILE} + +echo "**********************************************************" +echo "You should restart X server or do 'xset fp rehash' command" +echo "to enable this update." +echo "**********************************************************" + +exit 0; |