diff options
author | max <max@FreeBSD.org> | 1998-08-31 05:26:06 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1998-08-31 05:26:06 +0800 |
commit | 6d67fc5bfc1609e7bfdbe17be07fab64f3111db2 (patch) | |
tree | cfea882a50123fcb3cc08b774151dc843d8d88c2 /japanese/tcsh-nls-generic | |
parent | b87bed603facc36e5223b24ffa007203c480ab88 (diff) | |
download | freebsd-ports-graphics-6d67fc5bfc1609e7bfdbe17be07fab64f3111db2.tar.gz freebsd-ports-graphics-6d67fc5bfc1609e7bfdbe17be07fab64f3111db2.tar.zst freebsd-ports-graphics-6d67fc5bfc1609e7bfdbe17be07fab64f3111db2.zip |
Japanese NLS catalog for TCSH. ("Generic Japanese" taste)
PR: 7692
Submitted by: Issei Suzuki <issei@jp.freebsd.org>
Diffstat (limited to 'japanese/tcsh-nls-generic')
-rw-r--r-- | japanese/tcsh-nls-generic/Makefile | 57 | ||||
-rw-r--r-- | japanese/tcsh-nls-generic/distinfo | 2 | ||||
-rw-r--r-- | japanese/tcsh-nls-generic/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/tcsh-nls-generic/pkg-descr | 7 | ||||
-rw-r--r-- | japanese/tcsh-nls-generic/pkg-plist | 4 |
5 files changed, 71 insertions, 0 deletions
diff --git a/japanese/tcsh-nls-generic/Makefile b/japanese/tcsh-nls-generic/Makefile new file mode 100644 index 00000000000..1df04e4cb96 --- /dev/null +++ b/japanese/tcsh-nls-generic/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: ja-tcsh NLS catalog (Generic Japanese) +# Version required: 6.07.09b5 +# Date created: 19 August 1998 +# Whom: issei <issei@jp.FreeBSD.ORG> +# +# $Id$ +# + +.if !defined(NLSSRC) +DISTNAME= tcsh-6.07.09 +PKGNAME= ja-tcsh-nls-generic-6.07.09b5 +CATEGORIES= japanese shells +MASTER_SITES= http://www2.wbs.ne.jp/~znc/tcsh/ +EXTRACT_SUFX= .tgz + +PATCH_SITES= http://www2.wbs.ne.jp/~znc/tcsh/ +PATCHFILES= ${DISTNAME}.kanji.patch7b5.gz + +MAINTAINER= issei@jp.FreeBSD.ORG + +PATCH_DIST_STRIP= -p1 +NLSSRC= tcsh-6.07.09/nls/ja +.endif + +BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf +RUN_DEPENDS= tcsh:${PORTSDIR}/japanese/tcsh + +NLSDIR= ${PREFIX}/share/nls +GENCAT= /usr/bin/gencat +NKF= ${PREFIX}/bin/nkf +NLSSRC_FULL= ${WRKDIR}/${NLSSRC} + +post-patch: + @${MKDIR} ${NLSSRC_FULL}_sjis + @(cd ${NLSSRC_FULL}; \ + for j in set[0-9] set[0-9][0-9] ; do \ + ${NKF} -Es $$j | \ + ${AWK} '{gsub(/[\x81-\x84\x88-\x9f\xe0-\xea]\\/,"&\\"); print; }' \ + > ${NLSSRC_FULL}_sjis/$$j ; done ; \ + ) + +do-build: + @(cd ${NLSSRC_FULL}; \ + ${CAT} set[0-9] set[0-9][0-9] > tcsh.m; \ + ${GENCAT} tcsh.cat tcsh.m; \ + cd ${NLSSRC_FULL}_sjis; \ + ${CAT} set[0-9] set[0-9][0-9] > tcsh.m; \ + ${GENCAT} tcsh.cat tcsh.m; \ + ) + +do-install: + ${INSTALL_DATA} ${NLSSRC_FULL}/tcsh.cat ${NLSDIR}/ja_JP.EUC/tcsh.cat; \ + ${INSTALL_DATA} ${NLSSRC_FULL}/tcsh.m ${NLSDIR}/ja_JP.EUC/tcsh.m; \ + ${INSTALL_DATA} ${NLSSRC_FULL}_sjis/tcsh.cat ${NLSDIR}/ja_JP.SJIS/tcsh.cat; \ + ${INSTALL_DATA} ${NLSSRC_FULL}_sjis/tcsh.m ${NLSDIR}/ja_JP.SJIS/tcsh.m; \ + +.include <bsd.port.mk> diff --git a/japanese/tcsh-nls-generic/distinfo b/japanese/tcsh-nls-generic/distinfo new file mode 100644 index 00000000000..ae7fca63598 --- /dev/null +++ b/japanese/tcsh-nls-generic/distinfo @@ -0,0 +1,2 @@ +MD5 (tcsh-6.07.09.tgz) = f285baaebbb3c5f9c32425558415a798 +MD5 (tcsh-6.07.09.kanji.patch7b5.gz) = fe918113362ba0446b12269356a6e2de diff --git a/japanese/tcsh-nls-generic/pkg-comment b/japanese/tcsh-nls-generic/pkg-comment new file mode 100644 index 00000000000..80b76b8ea70 --- /dev/null +++ b/japanese/tcsh-nls-generic/pkg-comment @@ -0,0 +1 @@ +Japanese NLS catalog for TCSH. ("Generic Japanese" taste) diff --git a/japanese/tcsh-nls-generic/pkg-descr b/japanese/tcsh-nls-generic/pkg-descr new file mode 100644 index 00000000000..0be361745b3 --- /dev/null +++ b/japanese/tcsh-nls-generic/pkg-descr @@ -0,0 +1,7 @@ +Japanese NLS catalog for TCSH. + +NLS catalog allows you to customize output message from TCSH. +This catalog makes them "Generic Japanese" taste. + +This catalog is made by: + znc@mail.wbs.ne.jp diff --git a/japanese/tcsh-nls-generic/pkg-plist b/japanese/tcsh-nls-generic/pkg-plist new file mode 100644 index 00000000000..3866906e3c4 --- /dev/null +++ b/japanese/tcsh-nls-generic/pkg-plist @@ -0,0 +1,4 @@ +share/nls/ja_JP.EUC/tcsh.cat +share/nls/ja_JP.EUC/tcsh.m +share/nls/ja_JP.SJIS/tcsh.cat +share/nls/ja_JP.SJIS/tcsh.m |