diff options
author | taoka <taoka@FreeBSD.org> | 2000-10-10 13:10:07 +0800 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 2000-10-10 13:10:07 +0800 |
commit | dbe561ea6f15e3e19ea39417c90a7471679178de (patch) | |
tree | fedb72632bfeb3a86c6c3cadfb00be3139da3efd /japanese/jvim3 | |
parent | 7577f44e56eab9955ee0ae2373705bc9f1072e3b (diff) | |
download | freebsd-ports-gnome-dbe561ea6f15e3e19ea39417c90a7471679178de.tar.gz freebsd-ports-gnome-dbe561ea6f15e3e19ea39417c90a7471679178de.tar.zst freebsd-ports-gnome-dbe561ea6f15e3e19ea39417c90a7471679178de.zip |
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.
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 |