diff options
author | knu <knu@FreeBSD.org> | 2002-08-27 05:40:14 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-08-27 05:40:14 +0000 |
commit | 0b266c69c8200cc68eb22756866c68d5a64931a1 (patch) | |
tree | b17213e04e05dff45eb2aa9fe033ae420e8b52d4 /japanese/xvi-sjis | |
parent | f8944c4a68e46852be23305a7542cf6146480be4 (diff) | |
download | FreeBSD-ports-0b266c69c8200cc68eb22756866c68d5a64931a1.zip FreeBSD-ports-0b266c69c8200cc68eb22756866c68d5a64931a1.tar.gz |
Add japanese/xvi-euc, a portable multi-window `vi', handles japanese
SJIS.
PR: ports/41422 (with various style fixes)
Submitted by: KIMURA Shigekazu <zau50357@lion.zero.ad.jp>
Diffstat (limited to 'japanese/xvi-sjis')
-rw-r--r-- | japanese/xvi-sjis/Makefile | 23 | ||||
-rw-r--r-- | japanese/xvi-sjis/distinfo | 2 | ||||
-rw-r--r-- | japanese/xvi-sjis/files/patch-Makefile | 68 | ||||
-rw-r--r-- | japanese/xvi-sjis/files/patch-xvi.h | 14 | ||||
-rw-r--r-- | japanese/xvi-sjis/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/xvi-sjis/pkg-plist | 4 |
6 files changed, 112 insertions, 0 deletions
diff --git a/japanese/xvi-sjis/Makefile b/japanese/xvi-sjis/Makefile new file mode 100644 index 0000000..c05259a --- /dev/null +++ b/japanese/xvi-sjis/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: ja-xvi-sjis +# Date created: 07 Aug 2002 +# Whom: KIMURA Shigekazu <zau50357@lion.zero.ad.jp> +# +# $FreeBSD$ +# + +PKGNAMESUFFIX= -sjis + +MAINTAINER= ports@FreeBSD.org + +MASTERDIR= ${.CURDIR}/../xvi-euc + +PATCHDIR= ${.CURDIR}/files + +EXTRA_PATCHES= ${MASTERDIR}/files/patch-unix.h + +COMMENT= ${.CURDIR}/pkg-comment +PLIST= ${.CURDIR}/pkg-plist + +PROG= sxvi + +.include "${MASTERDIR}/Makefile.common" diff --git a/japanese/xvi-sjis/distinfo b/japanese/xvi-sjis/distinfo new file mode 100644 index 0000000..39ac5e6 --- /dev/null +++ b/japanese/xvi-sjis/distinfo @@ -0,0 +1,2 @@ +MD5 (xvi-2.19.tar.bz2) = 9f4bc9d1024d2d73e3ffd1cc828793e2 +MD5 (jxvi219b.lzh) = 8026474edf0eebb98f72f2544a348338 diff --git a/japanese/xvi-sjis/files/patch-Makefile b/japanese/xvi-sjis/files/patch-Makefile new file mode 100644 index 0000000..da53292 --- /dev/null +++ b/japanese/xvi-sjis/files/patch-Makefile @@ -0,0 +1,68 @@ +--- Makefile.orig Tue Aug 27 14:27:05 2002 ++++ Makefile Tue Aug 27 14:27:05 2002 +@@ -12,15 +12,19 @@ + # Makefile for CC for 386bsd + # + #*** ++ ++PROG= sxvi ++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/sxvi.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-sjis/files/patch-xvi.h b/japanese/xvi-sjis/files/patch-xvi.h new file mode 100644 index 0000000..598e4e8 --- /dev/null +++ b/japanese/xvi-sjis/files/patch-xvi.h @@ -0,0 +1,14 @@ +--- xvi.h.orig Tue Aug 27 14:27:05 2002 ++++ xvi.h Tue Aug 27 14:27:05 2002 +@@ -151,11 +151,7 @@ + # else + # define KANJI_VER "jXvi K.Tsuchida" + # endif +-# ifdef MSDOS + # define DEF_KCODE kc_SJIS +-# else +-# define DEF_KCODE kc_EUC +-# endif + #else + # undef FEPCTRL + # undef KANJI_INDENT diff --git a/japanese/xvi-sjis/pkg-comment b/japanese/xvi-sjis/pkg-comment new file mode 100644 index 0000000..9643fda --- /dev/null +++ b/japanese/xvi-sjis/pkg-comment @@ -0,0 +1 @@ +A portable multi-window `vi', handles japanese SJIS diff --git a/japanese/xvi-sjis/pkg-plist b/japanese/xvi-sjis/pkg-plist new file mode 100644 index 0000000..3bbdbb9 --- /dev/null +++ b/japanese/xvi-sjis/pkg-plist @@ -0,0 +1,4 @@ +bin/sxvi +man/man1/sxvi.1.gz +share/xvi/sxvi.help +@dirrm share/xvi |