diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-03-06 08:38:46 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-03-06 08:38:46 +0000 |
commit | 4210f39df86bf7b56f6087e8e5b5fd289e112024 (patch) | |
tree | f5dbc64ae27e0cb412a84015287253c4aba5a00e | |
parent | Make COMMENT and DESCR variables (just like PLIST). Will be useful (diff) |
Attempt to import 8 ports at once. I sure hope this will work.
editors/nvi is a multi-byte extension of nvi-1.79; the rest are pretty
much skeletons (even more so than regular ports) that use most files
from editors/nvi and support for a particular encoding scheme.
These ports were submitted by the author of multilingual nvi patches.
Closes PR ports/2824.
Submitted by: Jun-ichiro Itoh <itojun@csl.sony.co.jp>
Notes
Notes:
svn path=/head/; revision=5883
28 files changed, 599 insertions, 0 deletions
diff --git a/chinese/nvi-big5/Makefile b/chinese/nvi-big5/Makefile new file mode 100644 index 000000000000..df4ec00bdc2a --- /dev/null +++ b/chinese/nvi-big5/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: nvi-1.79 + multilingual patch(big5) +# Version required: 1.79 +# Date created: 6 Mar 1997 +# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org> +# +# $Id$ +# + +# can't use PORTSDIR here, since we haven't included bsd.port.mk +.include <${.CURDIR}/../../editors/nvi/Makefile> +# bsd.port.mk has been included in the above statement, so we don't need to +# include it again. + +PKGNAME= cn-nvi-big5-1.79-970306 +CATEGORIES= chinese editors + +MAINTAINER= itojun@itojun.org + +#LIB_DEPENDS+= canna\\.1\\.:${PORTSDIR}/japanese/Canna + +FILESDIR= ${PORTSDIR}/editors/nvi/files +PATCHDIR= ${PORTSDIR}/editors/nvi/patches +PKGDIR= ${PORTSDIR}/editors/nvi/pkg +COMMENT= ${.CURDIR}/pkg/COMMENT + +CONFIGURE_ARGS= --enable-multibyte=big5 --program-prefix=n diff --git a/chinese/nvi-big5/pkg-comment b/chinese/nvi-big5/pkg-comment new file mode 100644 index 000000000000..1686c2c6cc86 --- /dev/null +++ b/chinese/nvi-big5/pkg-comment @@ -0,0 +1 @@ +A clone of vi/ex, with multilingual patch, default settings for big5. diff --git a/chinese/nvi-euc-cn/Makefile b/chinese/nvi-euc-cn/Makefile new file mode 100644 index 000000000000..ce7701731365 --- /dev/null +++ b/chinese/nvi-euc-cn/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: nvi-1.79 + multilingual patch(euc-cn) +# Version required: 1.79 +# Date created: 6 Mar 1997 +# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org> +# +# $Id$ +# + +# can't use PORTSDIR here, since we haven't included bsd.port.mk +.include <${.CURDIR}/../../editors/nvi/Makefile> +# bsd.port.mk has been included in the above statement, so we don't need to +# include it again. + +PKGNAME= cn-nvi-euccn-1.79-970306 +CATEGORIES= chinese editors + +MAINTAINER= itojun@itojun.org + +#LIB_DEPENDS+= canna\\.1\\.:${PORTSDIR}/japanese/Canna + +FILESDIR= ${PORTSDIR}/editors/nvi/files +PATCHDIR= ${PORTSDIR}/editors/nvi/patches +PKGDIR= ${PORTSDIR}/editors/nvi/pkg +COMMENT= ${.CURDIR}/pkg/COMMENT + +CONFIGURE_ARGS= --enable-multibyte=eucu-cn --program-prefix=n diff --git a/chinese/nvi-euc-cn/pkg-comment b/chinese/nvi-euc-cn/pkg-comment new file mode 100644 index 000000000000..517f5ecf5121 --- /dev/null +++ b/chinese/nvi-euc-cn/pkg-comment @@ -0,0 +1 @@ +A clone of vi/ex, with multilingual patch, default settings for euc-cn. diff --git a/editors/nvi-m17n/Makefile b/editors/nvi-m17n/Makefile new file mode 100644 index 000000000000..01f4c2eec876 --- /dev/null +++ b/editors/nvi-m17n/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: nvi-1.79 + multilingual patch(none) +# Version required: 1.79 +# Date created: 6 Mar 1997 +# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org> +# +# $Id$ +# + +DISTNAME= nvi-1.79 +PKGNAME= nvi-m17n-1.79-970306 +CATEGORIES= japanese editors +MASTER_SITES= ftp://ftp.cs.berkeley.edu/ucb/4bsd/\ + ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/ +PATCHFILES= nvi-1.79.m17n-970306.diff.gz +PATCH_SITES= ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/ + +MAINTAINER= itojun@itojun.org + +#LIB_DEPENDS= canna\\.1\\.:${PORTSDIR}/japanese/Canna + +WRKSRC= ${WRKDIR}/${DISTNAME}/build +GNU_CONFIGURE= yes +PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -p0 +CONFIGURE_ENV= OPTFLAG='-D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\"' +CONFIGURE_ARGS= --enable-multibyte --program-prefix=n + +post-install: + @${CP} ${WRKSRC}/../docs.m17n/README.english \ + ${PREFIX}/share/vi/ + @${CP} ${WRKSRC}/../docs.m17n/README.japanese \ + ${PREFIX}/share/vi/ + +.include <bsd.port.mk> diff --git a/editors/nvi-m17n/distinfo b/editors/nvi-m17n/distinfo new file mode 100644 index 000000000000..5494a345e4d1 --- /dev/null +++ b/editors/nvi-m17n/distinfo @@ -0,0 +1,2 @@ +MD5 (nvi-1.79.tar.gz) = 765e2153f5fc4f21793f2edc2647305a +MD5 (nvi-1.79.m17n-970306.diff.gz) = a8db6119e61ad136c0d44b1792bb644c diff --git a/editors/nvi-m17n/files/patch-aa b/editors/nvi-m17n/files/patch-aa new file mode 100644 index 000000000000..9272867b1399 --- /dev/null +++ b/editors/nvi-m17n/files/patch-aa @@ -0,0 +1,106 @@ +*** Makefile.in.orig Thu Mar 6 13:19:46 1997 +--- Makefile.in Thu Mar 6 13:23:40 1997 +*************** +*** 87,95 **** + cd $(bindir) && $(chmod) $(emode) `echo vi | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo ex | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo view | sed '$(transform)'` +! cd $(bindir) && $(ln) \ + `echo vi | sed '$(transform)'` `echo ex | sed '$(transform)'` +! cd $(bindir) && $(ln) \ + `echo vi | sed '$(transform)'` `echo view | sed '$(transform)'` + cd $(bindir) && $(rm) -f regular qregular + $(cp) regular $(bindir)/regular +--- 87,95 ---- + cd $(bindir) && $(chmod) $(emode) `echo vi | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo ex | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo view | sed '$(transform)'` +! cd $(bindir) && $(ln) -s \ + `echo vi | sed '$(transform)'` `echo ex | sed '$(transform)'` +! cd $(bindir) && $(ln) -s \ + `echo vi | sed '$(transform)'` `echo view | sed '$(transform)'` + cd $(bindir) && $(rm) -f regular qregular + $(cp) regular $(bindir)/regular +*************** +*** 97,115 **** + cd $(bindir) && $(chmod) $(emode) regular qregular + [ -d $(mandir) ] || \ + ($(mkdir) $(mandir) && $(chmod) $(dmode) $(mandir)) +! [ -d $(mandir)/cat1 ] || \ +! ($(mkdir) $(mandir)/cat1 && $(chmod) $(dmode) $(mandir)/cat1) + @echo "Installing man pages: $(mandir) ..." +! cd $(mandir)/cat1 && $(rm) -f `echo vi.0 | sed '$(transform)'` +! $(cp) $(srcdir)/docs/USD.doc/vi.man/vi.0 \ +! $(mandir)/cat1/`echo vi.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(chmod) $(fmode) `echo vi.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(rm) -f `echo ex.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(rm) -f `echo view.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(ln) \ +! `echo vi.0 | sed '$(transform)'` `echo ex.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(ln) \ +! `echo vi.0 | sed '$(transform)'` `echo view.0 | sed '$(transform)'` + [ -d $(mandir)/man1 ] || \ + ($(mkdir) $(mandir)/man1 && $(chmod) $(dmode) $(mandir)/man1) + cd $(mandir)/man1 && $(rm) -f `echo vi.1 | sed '$(transform)'` +--- 97,115 ---- + cd $(bindir) && $(chmod) $(emode) regular qregular + [ -d $(mandir) ] || \ + ($(mkdir) $(mandir) && $(chmod) $(dmode) $(mandir)) +! # [ -d $(mandir)/cat1 ] || \ +! # ($(mkdir) $(mandir)/cat1 && $(chmod) $(dmode) $(mandir)/cat1) + @echo "Installing man pages: $(mandir) ..." +! # cd $(mandir)/cat1 && $(rm) -f `echo vi.0 | sed '$(transform)'` +! # $(cp) $(srcdir)/docs/USD.doc/vi.man/vi.0 \ +! # $(mandir)/cat1/`echo vi.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(chmod) $(fmode) `echo vi.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(rm) -f `echo ex.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(rm) -f `echo view.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(ln) -s \ +! # `echo vi.0 | sed '$(transform)'` `echo ex.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(ln) -s \ +! # `echo vi.0 | sed '$(transform)'` `echo view.0 | sed '$(transform)'` + [ -d $(mandir)/man1 ] || \ + ($(mkdir) $(mandir)/man1 && $(chmod) $(dmode) $(mandir)/man1) + cd $(mandir)/man1 && $(rm) -f `echo vi.1 | sed '$(transform)'` +*************** +*** 118,126 **** + cd $(mandir)/man1 && $(chmod) $(fmode) `echo vi.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo ex.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo view.1 | sed '$(transform)'` +! cd $(mandir)/man1 && $(ln) \ + `echo vi.1 | sed '$(transform)'` `echo ex.1 | sed '$(transform)'` +! cd $(mandir)/man1 && $(ln) \ + `echo vi.1 | sed '$(transform)'` `echo view.1 | sed '$(transform)'` + + cat= dutch english french german ru_SU.KOI8-R spanish swedish +--- 118,126 ---- + cd $(mandir)/man1 && $(chmod) $(fmode) `echo vi.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo ex.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo view.1 | sed '$(transform)'` +! cd $(mandir)/man1 && $(ln) -s \ + `echo vi.1 | sed '$(transform)'` `echo ex.1 | sed '$(transform)'` +! cd $(mandir)/man1 && $(ln) -s \ + `echo vi.1 | sed '$(transform)'` `echo view.1 | sed '$(transform)'` + + cat= dutch english french german ru_SU.KOI8-R spanish swedish +*************** +*** 163,171 **** + cd $(bindir) && $(rm) -f `echo vi | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo view | sed '$(transform)'` + cd $(bindir) && $(rm) -f regular qregular +! cd $(mandir)/cat1 && $(rm) -f `echo ex.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(rm) -f `echo vi.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(rm) -f `echo view.0 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo ex.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo vi.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo view.1 | sed '$(transform)'` +--- 163,171 ---- + cd $(bindir) && $(rm) -f `echo vi | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo view | sed '$(transform)'` + cd $(bindir) && $(rm) -f regular qregular +! # cd $(mandir)/cat1 && $(rm) -f `echo ex.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(rm) -f `echo vi.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(rm) -f `echo view.0 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo ex.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo vi.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo view.1 | sed '$(transform)'` diff --git a/editors/nvi-m17n/pkg-comment b/editors/nvi-m17n/pkg-comment new file mode 100644 index 000000000000..9b7989c596b4 --- /dev/null +++ b/editors/nvi-m17n/pkg-comment @@ -0,0 +1 @@ +A clone of vi/ex, with multilingual patch, no default settings. diff --git a/editors/nvi-m17n/pkg-descr b/editors/nvi-m17n/pkg-descr new file mode 100644 index 000000000000..da3026c825dd --- /dev/null +++ b/editors/nvi-m17n/pkg-descr @@ -0,0 +1,24 @@ +This ports contains multilingualized nex/nvi. + +nex/nvi is a freely redistributable implementation of ex/vi text +editors originally distributed as part of the Fourth Berkeley +Software Distribution (4BSD), by the University of California, +Berkeley. + +Multilingual patch enables you to use the following multilingual +encoding methods, such as: + none euc-jp-old euc-jp euc-cn euc-kr latin1 latin2 iso-2022-cn + iso-2022-jp iso-2022-kr iso-2022-7-1 iso-2022-7-2 iso-2022-8-2 + sjis big5 hz +Multilingual support has been set up to use some of the above (guess from +the name of the ports/packages) as default value. +You can change encoding style on the fly, or by setting up ~/.exrc. +With configurations, for Japanese encodings, you can also enjoy the +embedded canna support. +See /usr/local/share/vi/README.* for details of multilingual patch. + +Default encoding is set by /usr/local/etc/vi.exrc. + +original distribution site: + ftp://ftp.cs.berkeley.edu/ucb/4bsd/nvi-1.79.tar.gz + ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/nvi-1.79.m17n-970306.diff.gz diff --git a/editors/nvi-m17n/pkg-plist b/editors/nvi-m17n/pkg-plist new file mode 100644 index 000000000000..b75725085f36 --- /dev/null +++ b/editors/nvi-m17n/pkg-plist @@ -0,0 +1,30 @@ +bin/nvi +bin/nex +bin/nview +bin/regular +bin/qregular +man/cat1/nvi.0 +man/cat1/nex.0 +man/cat1/nview.0 +man/man1/nvi.1 +man/man1/nex.1 +man/man1/nview.1 +share/vi/README.english +share/vi/README.japanese +share/vi/recover +share/vi/catalog/ +share/vi/catalog/dutch +share/vi/catalog/english +share/vi/catalog/french +share/vi/catalog/german +share/vi/catalog/ru_SU.KOI8-R +share/vi/catalog/spanish +share/vi/catalog/swedish +share/vi/perl/forall.pl +share/vi/perl/make.pl +share/vi/perl/tk.pl +share/vi/perl/wc.pl +share/vi/tcl/errors.tcl +share/vi/tcl/gnats.tcl +share/vi/tcl/mailprocs.tcl +share/vi/tcl/wc.tcl diff --git a/editors/nvi-m17n/pkg-req b/editors/nvi-m17n/pkg-req new file mode 100644 index 000000000000..e108ec466a25 --- /dev/null +++ b/editors/nvi-m17n/pkg-req @@ -0,0 +1,9 @@ +#!/bin/sh +if [ "$2" != "INSTALL" ]; then + exit 0 +fi +echo "********************************************************" +echo "* W a r n i n g *" +echo "* Read /usr/local/share/vi/README.* for controlling *" +echo "* multilingual functionalities. *" +echo "********************************************************" diff --git a/editors/nvi-perl/Makefile b/editors/nvi-perl/Makefile new file mode 100644 index 000000000000..01f4c2eec876 --- /dev/null +++ b/editors/nvi-perl/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: nvi-1.79 + multilingual patch(none) +# Version required: 1.79 +# Date created: 6 Mar 1997 +# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org> +# +# $Id$ +# + +DISTNAME= nvi-1.79 +PKGNAME= nvi-m17n-1.79-970306 +CATEGORIES= japanese editors +MASTER_SITES= ftp://ftp.cs.berkeley.edu/ucb/4bsd/\ + ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/ +PATCHFILES= nvi-1.79.m17n-970306.diff.gz +PATCH_SITES= ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/ + +MAINTAINER= itojun@itojun.org + +#LIB_DEPENDS= canna\\.1\\.:${PORTSDIR}/japanese/Canna + +WRKSRC= ${WRKDIR}/${DISTNAME}/build +GNU_CONFIGURE= yes +PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -p0 +CONFIGURE_ENV= OPTFLAG='-D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\"' +CONFIGURE_ARGS= --enable-multibyte --program-prefix=n + +post-install: + @${CP} ${WRKSRC}/../docs.m17n/README.english \ + ${PREFIX}/share/vi/ + @${CP} ${WRKSRC}/../docs.m17n/README.japanese \ + ${PREFIX}/share/vi/ + +.include <bsd.port.mk> diff --git a/editors/nvi-perl/distinfo b/editors/nvi-perl/distinfo new file mode 100644 index 000000000000..5494a345e4d1 --- /dev/null +++ b/editors/nvi-perl/distinfo @@ -0,0 +1,2 @@ +MD5 (nvi-1.79.tar.gz) = 765e2153f5fc4f21793f2edc2647305a +MD5 (nvi-1.79.m17n-970306.diff.gz) = a8db6119e61ad136c0d44b1792bb644c diff --git a/editors/nvi-perl/files/patch-aa b/editors/nvi-perl/files/patch-aa new file mode 100644 index 000000000000..9272867b1399 --- /dev/null +++ b/editors/nvi-perl/files/patch-aa @@ -0,0 +1,106 @@ +*** Makefile.in.orig Thu Mar 6 13:19:46 1997 +--- Makefile.in Thu Mar 6 13:23:40 1997 +*************** +*** 87,95 **** + cd $(bindir) && $(chmod) $(emode) `echo vi | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo ex | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo view | sed '$(transform)'` +! cd $(bindir) && $(ln) \ + `echo vi | sed '$(transform)'` `echo ex | sed '$(transform)'` +! cd $(bindir) && $(ln) \ + `echo vi | sed '$(transform)'` `echo view | sed '$(transform)'` + cd $(bindir) && $(rm) -f regular qregular + $(cp) regular $(bindir)/regular +--- 87,95 ---- + cd $(bindir) && $(chmod) $(emode) `echo vi | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo ex | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo view | sed '$(transform)'` +! cd $(bindir) && $(ln) -s \ + `echo vi | sed '$(transform)'` `echo ex | sed '$(transform)'` +! cd $(bindir) && $(ln) -s \ + `echo vi | sed '$(transform)'` `echo view | sed '$(transform)'` + cd $(bindir) && $(rm) -f regular qregular + $(cp) regular $(bindir)/regular +*************** +*** 97,115 **** + cd $(bindir) && $(chmod) $(emode) regular qregular + [ -d $(mandir) ] || \ + ($(mkdir) $(mandir) && $(chmod) $(dmode) $(mandir)) +! [ -d $(mandir)/cat1 ] || \ +! ($(mkdir) $(mandir)/cat1 && $(chmod) $(dmode) $(mandir)/cat1) + @echo "Installing man pages: $(mandir) ..." +! cd $(mandir)/cat1 && $(rm) -f `echo vi.0 | sed '$(transform)'` +! $(cp) $(srcdir)/docs/USD.doc/vi.man/vi.0 \ +! $(mandir)/cat1/`echo vi.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(chmod) $(fmode) `echo vi.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(rm) -f `echo ex.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(rm) -f `echo view.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(ln) \ +! `echo vi.0 | sed '$(transform)'` `echo ex.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(ln) \ +! `echo vi.0 | sed '$(transform)'` `echo view.0 | sed '$(transform)'` + [ -d $(mandir)/man1 ] || \ + ($(mkdir) $(mandir)/man1 && $(chmod) $(dmode) $(mandir)/man1) + cd $(mandir)/man1 && $(rm) -f `echo vi.1 | sed '$(transform)'` +--- 97,115 ---- + cd $(bindir) && $(chmod) $(emode) regular qregular + [ -d $(mandir) ] || \ + ($(mkdir) $(mandir) && $(chmod) $(dmode) $(mandir)) +! # [ -d $(mandir)/cat1 ] || \ +! # ($(mkdir) $(mandir)/cat1 && $(chmod) $(dmode) $(mandir)/cat1) + @echo "Installing man pages: $(mandir) ..." +! # cd $(mandir)/cat1 && $(rm) -f `echo vi.0 | sed '$(transform)'` +! # $(cp) $(srcdir)/docs/USD.doc/vi.man/vi.0 \ +! # $(mandir)/cat1/`echo vi.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(chmod) $(fmode) `echo vi.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(rm) -f `echo ex.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(rm) -f `echo view.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(ln) -s \ +! # `echo vi.0 | sed '$(transform)'` `echo ex.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(ln) -s \ +! # `echo vi.0 | sed '$(transform)'` `echo view.0 | sed '$(transform)'` + [ -d $(mandir)/man1 ] || \ + ($(mkdir) $(mandir)/man1 && $(chmod) $(dmode) $(mandir)/man1) + cd $(mandir)/man1 && $(rm) -f `echo vi.1 | sed '$(transform)'` +*************** +*** 118,126 **** + cd $(mandir)/man1 && $(chmod) $(fmode) `echo vi.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo ex.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo view.1 | sed '$(transform)'` +! cd $(mandir)/man1 && $(ln) \ + `echo vi.1 | sed '$(transform)'` `echo ex.1 | sed '$(transform)'` +! cd $(mandir)/man1 && $(ln) \ + `echo vi.1 | sed '$(transform)'` `echo view.1 | sed '$(transform)'` + + cat= dutch english french german ru_SU.KOI8-R spanish swedish +--- 118,126 ---- + cd $(mandir)/man1 && $(chmod) $(fmode) `echo vi.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo ex.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo view.1 | sed '$(transform)'` +! cd $(mandir)/man1 && $(ln) -s \ + `echo vi.1 | sed '$(transform)'` `echo ex.1 | sed '$(transform)'` +! cd $(mandir)/man1 && $(ln) -s \ + `echo vi.1 | sed '$(transform)'` `echo view.1 | sed '$(transform)'` + + cat= dutch english french german ru_SU.KOI8-R spanish swedish +*************** +*** 163,171 **** + cd $(bindir) && $(rm) -f `echo vi | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo view | sed '$(transform)'` + cd $(bindir) && $(rm) -f regular qregular +! cd $(mandir)/cat1 && $(rm) -f `echo ex.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(rm) -f `echo vi.0 | sed '$(transform)'` +! cd $(mandir)/cat1 && $(rm) -f `echo view.0 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo ex.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo vi.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo view.1 | sed '$(transform)'` +--- 163,171 ---- + cd $(bindir) && $(rm) -f `echo vi | sed '$(transform)'` + cd $(bindir) && $(rm) -f `echo view | sed '$(transform)'` + cd $(bindir) && $(rm) -f regular qregular +! # cd $(mandir)/cat1 && $(rm) -f `echo ex.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(rm) -f `echo vi.0 | sed '$(transform)'` +! # cd $(mandir)/cat1 && $(rm) -f `echo view.0 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo ex.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo vi.1 | sed '$(transform)'` + cd $(mandir)/man1 && $(rm) -f `echo view.1 | sed '$(transform)'` diff --git a/editors/nvi-perl/pkg-comment b/editors/nvi-perl/pkg-comment new file mode 100644 index 000000000000..9b7989c596b4 --- /dev/null +++ b/editors/nvi-perl/pkg-comment @@ -0,0 +1 @@ +A clone of vi/ex, with multilingual patch, no default settings. diff --git a/editors/nvi-perl/pkg-descr b/editors/nvi-perl/pkg-descr new file mode 100644 index 000000000000..da3026c825dd --- /dev/null +++ b/editors/nvi-perl/pkg-descr @@ -0,0 +1,24 @@ +This ports contains multilingualized nex/nvi. + +nex/nvi is a freely redistributable implementation of ex/vi text +editors originally distributed as part of the Fourth Berkeley +Software Distribution (4BSD), by the University of California, +Berkeley. + +Multilingual patch enables you to use the following multilingual +encoding methods, such as: + none euc-jp-old euc-jp euc-cn euc-kr latin1 latin2 iso-2022-cn + iso-2022-jp iso-2022-kr iso-2022-7-1 iso-2022-7-2 iso-2022-8-2 + sjis big5 hz +Multilingual support has been set up to use some of the above (guess from +the name of the ports/packages) as default value. +You can change encoding style on the fly, or by setting up ~/.exrc. +With configurations, for Japanese encodings, you can also enjoy the +embedded canna support. +See /usr/local/share/vi/README.* for details of multilingual patch. + +Default encoding is set by /usr/local/etc/vi.exrc. + +original distribution site: + ftp://ftp.cs.berkeley.edu/ucb/4bsd/nvi-1.79.tar.gz + ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/nvi-1.79.m17n-970306.diff.gz diff --git a/editors/nvi-perl/pkg-plist b/editors/nvi-perl/pkg-plist new file mode 100644 index 000000000000..b75725085f36 --- /dev/null +++ b/editors/nvi-perl/pkg-plist @@ -0,0 +1,30 @@ +bin/nvi +bin/nex +bin/nview +bin/regular +bin/qregular +man/cat1/nvi.0 +man/cat1/nex.0 +man/cat1/nview.0 +man/man1/nvi.1 +man/man1/nex.1 +man/man1/nview.1 +share/vi/README.english +share/vi/README.japanese +share/vi/recover +share/vi/catalog/ +share/vi/catalog/dutch +share/vi/catalog/english +share/vi/catalog/french +share/vi/catalog/german +share/vi/catalog/ru_SU.KOI8-R +share/vi/catalog/spanish +share/vi/catalog/swedish +share/vi/perl/forall.pl +share/vi/perl/make.pl +share/vi/perl/tk.pl +share/vi/perl/wc.pl +share/vi/tcl/errors.tcl +share/vi/tcl/gnats.tcl +share/vi/tcl/mailprocs.tcl +share/vi/tcl/wc.tcl diff --git a/editors/nvi-perl/pkg-req b/editors/nvi-perl/pkg-req new file mode 100644 index 000000000000..e108ec466a25 --- /dev/null +++ b/editors/nvi-perl/pkg-req @@ -0,0 +1,9 @@ +#!/bin/sh +if [ "$2" != "INSTALL" ]; then + exit 0 +fi +echo "********************************************************" +echo "* W a r n i n g *" +echo "* Read /usr/local/share/vi/README.* for controlling *" +echo "* multilingual functionalities. *" +echo "********************************************************" diff --git a/japanese/nvi-euc-jp/Makefile b/japanese/nvi-euc-jp/Makefile new file mode 100644 index 000000000000..6f1754632f9a --- /dev/null +++ b/japanese/nvi-euc-jp/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: nvi-1.79 + multilingual patch(euc-jp) +# Version required: 1.79 +# Date created: 6 Mar 1997 +# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org> +# +# $Id$ +# + +# can't use PORTSDIR here, since we haven't included bsd.port.mk +.include <${.CURDIR}/../../editors/nvi/Makefile> +# bsd.port.mk has been included in the above statement, so we don't need to +# include it again. + +PKGNAME= jp-nvi-eucjp-1.79-970306 +CATEGORIES= japanese editors + +MAINTAINER= itojun@itojun.org + +LIB_DEPENDS+= canna\\.1\\.:${PORTSDIR}/japanese/Canna + +FILESDIR= ${PORTSDIR}/editors/nvi/files +PATCHDIR= ${PORTSDIR}/editors/nvi/patches +PKGDIR= ${PORTSDIR}/editors/nvi/pkg +COMMENT= ${.CURDIR}/pkg/COMMENT + +CONFIGURE_ARGS= --enable-multibyte=euc-jp --program-prefix=n --enable-canna diff --git a/japanese/nvi-euc-jp/pkg-comment b/japanese/nvi-euc-jp/pkg-comment new file mode 100644 index 000000000000..2c28d17be8bc --- /dev/null +++ b/japanese/nvi-euc-jp/pkg-comment @@ -0,0 +1 @@ +A clone of vi/ex, with multilingual patch, default settings for euc-jp. diff --git a/japanese/nvi-iso-2022-jp/Makefile b/japanese/nvi-iso-2022-jp/Makefile new file mode 100644 index 000000000000..1a3885d9e03c --- /dev/null +++ b/japanese/nvi-iso-2022-jp/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: nvi-1.79 + multilingual patch(iso-2022-jp) +# Version required: 1.79 +# Date created: 6 Mar 1997 +# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org> +# +# $Id$ +# + +# can't use PORTSDIR here, since we haven't included bsd.port.mk +.include <${.CURDIR}/../../editors/nvi/Makefile> +# bsd.port.mk has been included in the above statement, so we don't need to +# include it again. + +PKGNAME= jp-nvi-iso2022jp-1.79-970306 +CATEGORIES= japanese editors + +MAINTAINER= itojun@itojun.org + +LIB_DEPENDS+= canna\\.1\\.:${PORTSDIR}/japanese/Canna + +FILESDIR= ${PORTSDIR}/editors/nvi/files +PATCHDIR= ${PORTSDIR}/editors/nvi/patches +PKGDIR= ${PORTSDIR}/editors/nvi/pkg +COMMENT= ${.CURDIR}/pkg/COMMENT + +CONFIGURE_ARGS= --enable-multibyte=iso-2022-jp --program-prefix=n --enable-canna diff --git a/japanese/nvi-iso-2022-jp/pkg-comment b/japanese/nvi-iso-2022-jp/pkg-comment new file mode 100644 index 000000000000..72c8446fcd6f --- /dev/null +++ b/japanese/nvi-iso-2022-jp/pkg-comment @@ -0,0 +1 @@ +A clone of vi/ex, with multilingual patch, default settings for iso-2022-jp. diff --git a/japanese/nvi-sjis/Makefile b/japanese/nvi-sjis/Makefile new file mode 100644 index 000000000000..bd157ee71562 --- /dev/null +++ b/japanese/nvi-sjis/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: nvi-1.79 + multilingual patch(sjis) +# Version required: 1.79 +# Date created: 6 Mar 1997 +# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org> +# +# $Id$ +# + +# can't use PORTSDIR here, since we haven't included bsd.port.mk +.include <${.CURDIR}/../../editors/nvi/Makefile> +# bsd.port.mk has been included in the above statement, so we don't need to +# include it again. + +PKGNAME= jp-nvi-sjis-1.79-970306 +CATEGORIES= japanese editors + +MAINTAINER= itojun@itojun.org + +LIB_DEPENDS+= canna\\.1\\.:${PORTSDIR}/japanese/Canna + +FILESDIR= ${PORTSDIR}/editors/nvi/files +PATCHDIR= ${PORTSDIR}/editors/nvi/patches +PKGDIR= ${PORTSDIR}/editors/nvi/pkg +COMMENT= ${.CURDIR}/pkg/COMMENT + +CONFIGURE_ARGS= --enable-multibyte=sjis --program-prefix=n --enable-canna diff --git a/japanese/nvi-sjis/pkg-comment b/japanese/nvi-sjis/pkg-comment new file mode 100644 index 000000000000..8ac5472cdd15 --- /dev/null +++ b/japanese/nvi-sjis/pkg-comment @@ -0,0 +1 @@ +A clone of vi/ex, with multilingual patch, default settings for sjis. diff --git a/korean/nvi-euc-kr/Makefile b/korean/nvi-euc-kr/Makefile new file mode 100644 index 000000000000..b4a8c21a1125 --- /dev/null +++ b/korean/nvi-euc-kr/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: nvi-1.79 + multilingual patch(euc-kr) +# Version required: 1.79 +# Date created: 6 Mar 1997 +# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org> +# +# $Id$ +# + +# can't use PORTSDIR here, since we haven't included bsd.port.mk +.include <${.CURDIR}/../../editors/nvi/Makefile> +# bsd.port.mk has been included in the above statement, so we don't need to +# include it again. + +PKGNAME= kr-nvi-euckr-1.79-970306 +CATEGORIES= korean editors + +MAINTAINER= itojun@itojun.org + +#LIB_DEPENDS+= canna\\.1\\.:${PORTSDIR}/japanese/Canna + +FILESDIR= ${PORTSDIR}/editors/nvi/files +PATCHDIR= ${PORTSDIR}/editors/nvi/patches +PKGDIR= ${PORTSDIR}/editors/nvi/pkg +COMMENT= ${.CURDIR}/pkg/COMMENT + +CONFIGURE_ARGS= --enable-multibyte=euc-kr --program-prefix=n diff --git a/korean/nvi-euc-kr/pkg-comment b/korean/nvi-euc-kr/pkg-comment new file mode 100644 index 000000000000..2ab650f2024c --- /dev/null +++ b/korean/nvi-euc-kr/pkg-comment @@ -0,0 +1 @@ +A clone of vi/ex, with multilingual patch, default settings for euc-kr. diff --git a/korean/nvi-iso-2022-kr/Makefile b/korean/nvi-iso-2022-kr/Makefile new file mode 100644 index 000000000000..5d23d8328223 --- /dev/null +++ b/korean/nvi-iso-2022-kr/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: nvi-1.79 + multilingual patch(iso-2022-kr) +# Version required: 1.79 +# Date created: 6 Mar 1997 +# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org> +# +# $Id$ +# + +# can't use PORTSDIR here, since we haven't included bsd.port.mk +.include <${.CURDIR}/../../editors/nvi/Makefile> +# bsd.port.mk has been included in the above statement, so we don't need to +# include it again. + +PKGNAME= kr-nvi-iso2022kr-1.79-970306 +CATEGORIES= korean editors + +MAINTAINER= itojun@itojun.org + +#LIB_DEPENDS+= canna\\.1\\.:${PORTSDIR}/japanese/Canna + +FILESDIR= ${PORTSDIR}/editors/nvi/files +PATCHDIR= ${PORTSDIR}/editors/nvi/patches +PKGDIR= ${PORTSDIR}/editors/nvi/pkg +COMMENT= ${.CURDIR}/pkg/COMMENT + +CONFIGURE_ARGS= --enable-multibyte=iso-2022-kr --program-prefix=n diff --git a/korean/nvi-iso-2022-kr/pkg-comment b/korean/nvi-iso-2022-kr/pkg-comment new file mode 100644 index 000000000000..bac2232ec6f8 --- /dev/null +++ b/korean/nvi-iso-2022-kr/pkg-comment @@ -0,0 +1 @@ +A clone of vi/ex, with multilingual patch, default settings for iso-2022-kr. |