diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-12-27 19:04:12 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-12-27 19:04:12 +0000 |
commit | 3bdc13845951800b986a5a9852635213bb467765 (patch) | |
tree | 1ec2335899fab8a4eb0e563f8e155eb5da7dfe0a /japanese | |
parent | Upgrade, 0.8.6 -> 0.8.9. (diff) |
New port, japanese/tcsh:
An extended C-shell with many useful features with Japanese and color support.
PR: 5316
Submitted by: Issei Suzuki <issei@mikage.t-cnet.or.jp>
Notes
Notes:
svn path=/head/; revision=9208
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/tcsh/Makefile | 47 | ||||
-rw-r--r-- | japanese/tcsh/distinfo | 3 | ||||
-rw-r--r-- | japanese/tcsh/files/patch-af | 23 | ||||
-rw-r--r-- | japanese/tcsh/files/patch-ag | 45 | ||||
-rw-r--r-- | japanese/tcsh/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/tcsh/pkg-descr | 9 | ||||
-rw-r--r-- | japanese/tcsh/pkg-plist | 11 |
7 files changed, 139 insertions, 0 deletions
diff --git a/japanese/tcsh/Makefile b/japanese/tcsh/Makefile new file mode 100644 index 000000000000..ec00547f80e7 --- /dev/null +++ b/japanese/tcsh/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: tcsh with color-ls and kanji patches +# Version required: 6.07.02 +# Date created: 29 November 1997 +# Whom: issei <issei@t-cnet.or.jp> +# +# $Id: Makefile,v 1.12 1997/10/11 10:42:43 jkh Exp $ +# + +DISTNAME= tcsh-6.07 +PKGNAME= ja-tcsh-6.07.02 +CATEGORIES= japanese shells +MASTER_SITES= ftp://ftp.jp.freebsd.org/pub/FreeBSD/distfiles/ \ + ftp://ftp.iis.u-tokyo.ac.jp/pub7/FreeBSD/distfiles/ \ + ftp://ftp.chem.sci.osaka-u.ac.jp/pub/unix/tools/tcsh/ + +PATCHFILES= tcsh-6.07.02.kanji.patch6a.gz tcsh-6.07.02-color-1.04.patch.gz +PATCH_SITES= http://www2.wbs.or.jp/~znc/tcsh/ \ + ftp://ftp.ccs.dendai.ac.jp/pub/misc/shell/tcsh/ \ + http://www.is.s.u-tokyo.ac.jp/~nayuta/pub/ \ + ftp://ftp.lab.kdd.co.jp/Usenet/fj.sources/1996/dec/ + +MAINTAINER= issei@t-cnet.or.jp + +GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/tcsh-6.07.02 +PATCH_DIST_STRIP= -p1 +ALL_TARGET= all catalogs +INSTALL_TARGET= install install.man +MAN1= tcsh.1 + +post-install: + @(cd ${WRKSRC}; \ + ${INSTALL_DATA} tcsh.C.cat ${PREFIX}/share/nls/C/tcsh.cat; \ + ${INSTALL_DATA} tcsh.C.m ${PREFIX}/share/nls/C/tcsh.m; \ + ${INSTALL_DATA} tcsh.ja.cat ${PREFIX}/share/nls/ja_JP.EUC/tcsh.cat; \ + ${INSTALL_DATA} tcsh.ja.m ${PREFIX}/share/nls/ja_JP.EUC/tcsh.m; \ + ) +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/tcsh + @${INSTALL_DATA} ${WRKSRC}/README-color.jp ${PREFIX}/share/doc/tcsh/ + @${INSTALL_DATA} ${WRKSRC}/README.kanji.patch.euc ${PREFIX}/share/doc/tcsh/ +.endif + @${ECHO} "updating /etc/shells" + @${CP} /etc/shells /etc/shells.bak + @(grep -v ${PREFIX}/tcsh /etc/shells.bak; ${ECHO} ${PREFIX}/tcsh) >/etc/shells + +.include <bsd.port.mk> diff --git a/japanese/tcsh/distinfo b/japanese/tcsh/distinfo new file mode 100644 index 000000000000..66541c11994d --- /dev/null +++ b/japanese/tcsh/distinfo @@ -0,0 +1,3 @@ +MD5 (tcsh-6.07.tar.gz) = 18a9d8091c6da38ebdd63ab509324eb5 +MD5 (tcsh-6.07.02.kanji.patch6a.gz) = 6a78e3ebf631d3d78c7dc199bb6fe520 +MD5 (tcsh-6.07.02-color-1.04.patch.gz) = 5d2e0936f93d4616bd7bc497c9ee2929 diff --git a/japanese/tcsh/files/patch-af b/japanese/tcsh/files/patch-af new file mode 100644 index 000000000000..249e9dc2f6d8 --- /dev/null +++ b/japanese/tcsh/files/patch-af @@ -0,0 +1,23 @@ +*** config_f.h.bak Fri Apr 26 23:17:30 1996 +--- config_f.h Mon Dec 16 03:53:59 1996 +*************** +*** 65,71 **** + * if you don't have <nl_types.h>, you don't want + * to define this. + */ +! #undef NLS_CATALOGS + + /* + * LOGINFIRST Source ~/.login before ~/.cshrc +--- 65,75 ---- + * if you don't have <nl_types.h>, you don't want + * to define this. + */ +! #if defined(__FreeBSD__) || defined(__OpenBSD__) +! # define NLS_CATALOGS +! #else +! # undef NLS_CATALOGS +! #endif + + /* + * LOGINFIRST Source ~/.login before ~/.cshrc diff --git a/japanese/tcsh/files/patch-ag b/japanese/tcsh/files/patch-ag new file mode 100644 index 000000000000..62b4213868f7 --- /dev/null +++ b/japanese/tcsh/files/patch-ag @@ -0,0 +1,45 @@ +--- sh.func.c.orig Sun Dec 28 03:14:21 1997 ++++ sh.func.c Sun Dec 28 03:15:00 1997 +@@ -1273,6 +1273,9 @@ + struct command *c; + { + Char *vp, *lp; ++#ifdef __FreeBSD__ ++ static int catclosed = 0; ++#endif + + USE(c); + if (*++v == 0) { +@@ -1312,9 +1315,19 @@ + # ifdef LC_COLLATE + (void) setlocale(LC_COLLATE, ""); + # endif +-# if defined(NLS_CATALOGS) && defined(LC_MESSAGES) ++# ifdef NLS_CATALOGS ++# ifdef LC_MESSAGES + (void) setlocale(LC_MESSAGES, ""); ++# endif ++# ifdef __FreeBSD__ ++ /* This code is to avoid bug. */ ++ if (catclosed) + (void) catclose(catd); ++ else ++ catclosed = 1; ++# else ++ (void) catclose(catd); ++# endif /* __FreeBSD__ */ + nlsinit(); + # endif /* NLS_CATALOGS && LC_MESSAGES */ + # ifdef LC_CTYPE +@@ -1487,8 +1500,10 @@ + # ifdef LC_COLLATE + (void) setlocale(LC_COLLATE, ""); + # endif +-# if defined(NLS_CATALOGS) && defined(LC_MESSAGES) ++# ifdef NLS_CATALOGS ++# ifdef LC_MESSAGES + (void) setlocale(LC_MESSAGES, ""); ++# endif + (void) catclose(catd); + nlsinit(); + # endif /* NLS_CATALOGS && LC_MESSAGES */ diff --git a/japanese/tcsh/pkg-comment b/japanese/tcsh/pkg-comment new file mode 100644 index 000000000000..b48705ad7908 --- /dev/null +++ b/japanese/tcsh/pkg-comment @@ -0,0 +1 @@ +An extended C-shell with many useful features with Japanese and color support. diff --git a/japanese/tcsh/pkg-descr b/japanese/tcsh/pkg-descr new file mode 100644 index 000000000000..4a6937ae5813 --- /dev/null +++ b/japanese/tcsh/pkg-descr @@ -0,0 +1,9 @@ +TCSH is an extended C-shell with many useful features like +filename completion, history editing, etc. + +This also supports + 1. Japanese command-line editing + 2. Japanese NLS catalogs + 3. colorlized ls-F command + +See also ${PREFIX}/share/doc/tcsh. diff --git a/japanese/tcsh/pkg-plist b/japanese/tcsh/pkg-plist new file mode 100644 index 000000000000..4f649c2e1621 --- /dev/null +++ b/japanese/tcsh/pkg-plist @@ -0,0 +1,11 @@ +bin/tcsh +@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells +@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells +man/man1/tcsh.1.gz +share/doc/tcsh/README-color.jp +share/doc/tcsh/README.kanji.patch.euc +@dirrm share/doc/tcsh +share/nls/C/tcsh.cat +share/nls/C/tcsh.m +share/nls/ja_JP.EUC/tcsh.cat +share/nls/ja_JP.EUC/tcsh.m |