diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 2000-10-10 05:10:07 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 2000-10-10 05:10:07 +0000 |
commit | 0c671252e29ff2032860827f327a90b4f0a8b124 (patch) | |
tree | e6782e40f98282d90524cdc165e2571fc8818115 /japanese/jvim3 | |
parent | Update to version 2.20 (diff) |
Make symlinks jvim3 -> jvim and jvim2 -> jvim
Each port of jvim3 and jvim3-direct_canna has a problem
when using jvim3rc in privious port. So I fixed it.
Notes
Notes:
svn path=/head/; revision=33657
Diffstat (limited to 'japanese/jvim3')
-rw-r--r-- | japanese/jvim3/Makefile | 10 | ||||
-rw-r--r-- | japanese/jvim3/pkg-plist | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/japanese/jvim3/Makefile b/japanese/jvim3/Makefile index 097f8f803fad..7500d8878a1b 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 5e9fc4fea6ee..e6871b3eb5f6 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 |