diff options
-rw-r--r-- | japanese/jvim/Makefile | 1 | ||||
-rw-r--r-- | japanese/jvim/files/patch-aa | 11 | ||||
-rw-r--r-- | japanese/jvim/pkg-plist | 1 | ||||
-rw-r--r-- | japanese/jvim3/Makefile | 10 | ||||
-rw-r--r-- | japanese/jvim3/pkg-plist | 3 |
5 files changed, 23 insertions, 3 deletions
diff --git a/japanese/jvim/Makefile b/japanese/jvim/Makefile index 3290f18..0aa5d07 100644 --- a/japanese/jvim/Makefile +++ b/japanese/jvim/Makefile @@ -67,6 +67,7 @@ do-build: do-install: cd ${WRKSRC}/src; make install + ${LN} -sf ${PREFIX}/bin/jvim2 ${PREFIX}/bin/jvim post-install: for file in jcat jgrep jfold jvim; do \ diff --git a/japanese/jvim/files/patch-aa b/japanese/jvim/files/patch-aa index af5eaab..36b0feb 100644 --- a/japanese/jvim/files/patch-aa +++ b/japanese/jvim/files/patch-aa @@ -1,5 +1,5 @@ --- ./src/makefile.junx.orig Mon Jul 3 05:54:33 1995 -+++ ./src/makefile.junx Fri Oct 31 14:53:29 1997 ++++ ./src/makefile.junx Wed Oct 4 02:10:05 2000 @@ -15,12 +15,12 @@ # #>>>>> choose Japanese Kanji code @@ -39,7 +39,14 @@ 'CC = gcc -O2 -Wall' # for FreeBSD before 2.0.5R, 'LIBS = -ltermcap -lcompat' may be needed. -@@ -368,13 +375,13 @@ +@@ -362,19 +369,19 @@ + + #>>>>> choose options for install + ### Name of target +-JVIM = jvim ++JVIM = jvim2 + JCAT = jcat + JFOLD = jfold JGREP = jgrep ### Prefix for location of files diff --git a/japanese/jvim/pkg-plist b/japanese/jvim/pkg-plist index d046920..87574de 100644 --- a/japanese/jvim/pkg-plist +++ b/japanese/jvim/pkg-plist @@ -2,5 +2,6 @@ bin/jcat bin/jgrep bin/jfold bin/jvim +bin/jvim2 bin/jview lib/jvim.hlp diff --git a/japanese/jvim3/Makefile b/japanese/jvim3/Makefile index 097f8f8..7500d88 100644 --- a/japanese/jvim3/Makefile +++ b/japanese/jvim3/Makefile @@ -85,6 +85,9 @@ FEPLIBS!= echo ${FEPLIBS} | sed 's%^%-lonew${INPUT_METHOD} %' FEPOBJS= feponew.o ### .endif +PLIST_SUB+= HAS_JVIM3RC="" +.else +PLIST_SUB+= HAS_JVIM3RC="@comment " .endif post-extract: @@ -102,11 +105,18 @@ do-build: do-install: cd ${WRKSRC}/src; make -f ${MAKEFILE} install + ${LN} -sf ${PREFIX}/bin/jvim3 ${PREFIX}/bin/jvim if [ -e ${PREFIX}/etc/jvim3rc ]; then \ ${MV} ${PREFIX}/etc/jvim3rc ${PREFIX}/etc/jvim3rc.bak; \ fi ${INSTALL_PROGRAM} ${WRKSRC}/src/grep/grep ${PREFIX}/bin/jgrep +.if defined(INPUT_METHOD) +.if defined(DIRECT_CANNA) + ${ECHO} "set fepctrl" > ${PREFIX}/etc/jvim3rc +.else ${ECHO} "set fepctrl onewredraw" > ${PREFIX}/etc/jvim3rc +.endif +.endif .if !defined(NOPORTDOCS) .if defined(PORT_DOCDIR) ${MKDIR} ${PORT_DOCDIR} diff --git a/japanese/jvim3/pkg-plist b/japanese/jvim3/pkg-plist index 5e9fc4f..e6871b3 100644 --- a/japanese/jvim3/pkg-plist +++ b/japanese/jvim3/pkg-plist @@ -1,8 +1,9 @@ +bin/jvim bin/jvim3 bin/jgrep lib/jvim3.hlp @exec ([ -f %D/etc/jvim3rc ] && mv %D/etc/jvim3rc %D/etc/jvim3rc.bak) || /usr/bin/true -etc/jvim3rc +%%HAS_JVIM3RC%%etc/jvim3rc share/doc/ja-jvim-%%VERSION%%/cygwin.txt share/doc/ja-jvim-%%VERSION%%/differen.doc share/doc/ja-jvim-%%VERSION%%/fepctrl.doc |