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 /editors/nvi-perl | |
parent | 8d8b8f04f28df517e7bbc7d09152261133cecae6 (diff) | |
download | ports-4210f39df86bf7b56f6087e8e5b5fd289e112024.tar.gz ports-4210f39df86bf7b56f6087e8e5b5fd289e112024.zip |
Notes
Diffstat (limited to 'editors/nvi-perl')
-rw-r--r-- | editors/nvi-perl/Makefile | 33 | ||||
-rw-r--r-- | editors/nvi-perl/distinfo | 2 | ||||
-rw-r--r-- | editors/nvi-perl/files/patch-aa | 106 | ||||
-rw-r--r-- | editors/nvi-perl/pkg-comment | 1 | ||||
-rw-r--r-- | editors/nvi-perl/pkg-descr | 24 | ||||
-rw-r--r-- | editors/nvi-perl/pkg-plist | 30 | ||||
-rw-r--r-- | editors/nvi-perl/pkg-req | 9 |
7 files changed, 205 insertions, 0 deletions
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 "********************************************************" |