summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-08-27 05:38:29 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-08-27 05:38:29 +0000
commit232f49c7ddc4db0ce9a3ac1d5a04d471a2bef5e4 (patch)
tree38f857989779f18ed0163828c269c296303d0dbc /japanese
parentUpdate to 1.99.90. (diff)
Add japanese/xvi-euc, a portable multi-window `vi', handles japanese
EUC. PR: ports/41422 (with various style fixes) Submitted by: KIMURA Shigekazu <zau50357@lion.zero.ad.jp>
Notes
Notes: svn path=/head/; revision=65079
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/xvi-euc/Makefile22
-rw-r--r--japanese/xvi-euc/Makefile.common39
-rw-r--r--japanese/xvi-euc/distinfo2
-rw-r--r--japanese/xvi-euc/files/patch-Makefile68
-rw-r--r--japanese/xvi-euc/files/patch-unix.h11
-rw-r--r--japanese/xvi-euc/pkg-comment1
-rw-r--r--japanese/xvi-euc/pkg-descr11
-rw-r--r--japanese/xvi-euc/pkg-plist5
9 files changed, 160 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 82b20fb35ea1..a64173108418 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -442,6 +442,7 @@
SUBDIR += xshodo
SUBDIR += xshodou
SUBDIR += xv
+ SUBDIR += xvi-euc
SUBDIR += xyagamo
SUBDIR += xyaku
SUBDIR += yc.el
diff --git a/japanese/xvi-euc/Makefile b/japanese/xvi-euc/Makefile
new file mode 100644
index 000000000000..98cada3b2035
--- /dev/null
+++ b/japanese/xvi-euc/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: ja-xvi-euc
+# Date created: 07 Aug 2002
+# Whom: KIMURA Shigekazu <zau50357@lion.zero.ad.jp>
+#
+# $FreeBSD$
+#
+
+PKGNAMESUFFIX= -euc
+
+MAINTAINER= ports@FreeBSD.org
+
+MASTERDIR= ${.CURDIR}/../xvi-euc
+
+COMMENT= ${.CURDIR}/pkg-comment
+PLIST= ${.CURDIR}/pkg-plist
+
+PROG= xvi
+
+post-install:
+ cd ${PREFIX}/bin; ${LN} -f ${PROG} jxvi
+
+.include "${MASTERDIR}/Makefile.common"
diff --git a/japanese/xvi-euc/Makefile.common b/japanese/xvi-euc/Makefile.common
new file mode 100644
index 000000000000..b5fdada4bf1e
--- /dev/null
+++ b/japanese/xvi-euc/Makefile.common
@@ -0,0 +1,39 @@
+#
+# $FreeBSD$
+#
+
+PORTNAME= xvi
+PORTVERSION= 2.19b
+CATEGORIES= japanese editors
+MASTER_SITES= http://lion.zero.ad.jp/~zau50357/public_html/ \
+ ftp://ftp.vector.co.jp/pack/dos/writing/edit/vi/
+DISTFILES= ${PORTNAME}-2.19.tar.bz2 \
+ j${PORTNAME}219b.lzh
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha
+
+USE_REINPLACE= yes
+
+WRKSRC= ${WRKDIR}/xvi-2.19/src
+
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @(cd ${WRKDIR} && ${TAR} jxf ${DISTDIR}/${PORTNAME}-2.19.tar.bz2)
+ @(cd ${WRKSRC} && lha xfq ${DISTDIR}/j${PORTNAME}219b.lzh)
+
+pre-patch:
+ @(cd ${WRKSRC} && ${PATCH} -p0 -sE < jxvi219.dif)
+ @${CP} ${WRKSRC}/make_386.bsd ${WRKSRC}/Makefile
+
+post-patch:
+ ${REINPLACE_CMD} 's:/usr/local:${PREFIX}:g' ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PROG} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xvi.1.gz ${PREFIX}/man/man1/${PROG}.1.gz
+ ${MKDIR} ${PREFIX}/share/xvi
+ ${INSTALL_DATA} ${WRKSRC}/../doc/help ${PREFIX}/share/xvi/${PROG}.help
+
+.include <bsd.port.mk>
diff --git a/japanese/xvi-euc/distinfo b/japanese/xvi-euc/distinfo
new file mode 100644
index 000000000000..39ac5e630aa5
--- /dev/null
+++ b/japanese/xvi-euc/distinfo
@@ -0,0 +1,2 @@
+MD5 (xvi-2.19.tar.bz2) = 9f4bc9d1024d2d73e3ffd1cc828793e2
+MD5 (jxvi219b.lzh) = 8026474edf0eebb98f72f2544a348338
diff --git a/japanese/xvi-euc/files/patch-Makefile b/japanese/xvi-euc/files/patch-Makefile
new file mode 100644
index 000000000000..a79b25f74824
--- /dev/null
+++ b/japanese/xvi-euc/files/patch-Makefile
@@ -0,0 +1,68 @@
+--- Makefile.orig Tue Aug 27 14:17:32 2002
++++ Makefile Tue Aug 27 14:20:26 2002
+@@ -12,15 +12,19 @@
+ # Makefile for CC for 386bsd
+ #
+ #***
++
++PROG= xvi
++MAN1= ../doc/xvi.1
+
+ SYSDEFS= -DUNIX -DBSD386
+ INCDIRS=
+
+-LIBS= -ltermcap
++LIBS= -lcurses
++#LIBS= -ltermcap
+ LDFLAGS=
+
+-CFLAGS= $(SYSDEFS) $(INCDIRS) -O
+-LINTFLAGS= $(SYSDEFS) $(INCDIRS) -ah
++CFLAGS+= ${SYSDEFS} ${INCDIRS} -DHELPFILE=\"/usr/local/share/xvi/xvi.help\"
++LINTFLAGS= ${SYSDEFS} ${INCDIRS} -ah
+
+ MACHSRC= unix.c termcap.c defscr.c
+ MACHOBJ= unix.o termcap.o defscr.o
+@@ -42,28 +46,30 @@
+ regexp.o screen.o search.o signal.o startup.o status.o \
+ tags.o undo.o version.o windows.o yankput.o kanji.o
+
+-all: xvi
++all: ${PROG}
+
+-xvi: $(GENOBJ) $(MACHOBJ)
+- $(CC) $(CFLAGS) -o xvi $(GENOBJ) $(MACHOBJ) $(LIBS)
++${PROG}: ${GENOBJ} ${MACHOBJ}
++ ${CC} ${CFLAGS} -o $@ ${GENOBJ} ${MACHOBJ} ${LIBS}
+
+-.c.o: $< $(GENINC) $(MACHINC) param.c
+- $(CC) $(CFLAGS) -c $<
++.c.o: $< ${GENINC} ${MACHINC} param.c
++ ${CC} ${CFLAGS} -c $<
+
+ lint:
+- lint $(LINTFLAGS) $(GENSRC) $(MACHSRC)
++ lint ${LINTFLAGS} ${GENSRC} ${MACHSRC}
+
+ listsrc:
+- @echo $(GENSRC) $(MACHSRC) $(GENINC) $(MACHINC)
++ @echo ${GENSRC} ${MACHSRC} ${GENINC} ${MACHINC}
+
+ listobj:
+- @echo $(GENOBJ) $(MACHOBJ)
++ @echo ${GENOBJ} ${MACHOBJ}
+
+
+-tags: $(GENSRC) $(MACHSRC)
+- ctags -t $(GENSRC) $(MACHSRC) $(GENINC) $(MACHINC)
++tags: ${GENSRC} ${MACHSRC}
++ ctags -t ${GENSRC} ${MACHSRC} ${GENINC} ${MACHINC}
+
+ clean:
+- rm $(GENOBJ) $(MACHOBJ) xvi
++ rm -f ${GENOBJ} ${MACHOBJ} ${PROG}
++
++${GENOBJ}: ${GENINC} ${MACHINC}
+
+-$(GENOBJ): $(GENINC) $(MACHINC)
++.include <bsd.prog.mk>
diff --git a/japanese/xvi-euc/files/patch-unix.h b/japanese/xvi-euc/files/patch-unix.h
new file mode 100644
index 000000000000..509846a9ce1d
--- /dev/null
+++ b/japanese/xvi-euc/files/patch-unix.h
@@ -0,0 +1,11 @@
+--- unix.h.OLD Tue Aug 6 08:18:17 2002
++++ unix.h Tue Aug 6 08:20:03 2002
+@@ -119,7 +119,7 @@
+ */
+ #if defined(BSD) || defined(BSD386) /* ken */
+ # include <sys/param.h>
+-# include <sys/dir.h>
++# include <sys/dirent.h>
+ # include <sys/file.h> /* get W_OK define for access() */
+ #else /* not BSD */
+ /*
diff --git a/japanese/xvi-euc/pkg-comment b/japanese/xvi-euc/pkg-comment
new file mode 100644
index 000000000000..f9e92cb0613c
--- /dev/null
+++ b/japanese/xvi-euc/pkg-comment
@@ -0,0 +1 @@
+A portable multi-window `vi', handles japanese EUC
diff --git a/japanese/xvi-euc/pkg-descr b/japanese/xvi-euc/pkg-descr
new file mode 100644
index 000000000000..2c5720e114d2
--- /dev/null
+++ b/japanese/xvi-euc/pkg-descr
@@ -0,0 +1,11 @@
+This is a source release of the Xvi editor (derived from "STEVIE"), a
+clone of the UNIX editor `vi'. The program was originally developed
+for the Atari ST, but has been ported to UNIX, MS-DOS, OS/2 and QNX as
+well.
+
+Xvi is a portable multi-window version of `vi'. In spite of its name,
+there is, as yet, no X-Windows-specific version of it, but work is
+still in progress. Existing versions use text windows separated by
+horizontal status lines on character mode displays. The windows may
+represent different files being edited, or different views on to the
+same file.
diff --git a/japanese/xvi-euc/pkg-plist b/japanese/xvi-euc/pkg-plist
new file mode 100644
index 000000000000..a35634e32fbf
--- /dev/null
+++ b/japanese/xvi-euc/pkg-plist
@@ -0,0 +1,5 @@
+bin/jxvi
+bin/xvi
+man/man1/xvi.1.gz
+share/xvi/xvi.help
+@dirrm share/xvi