aboutsummaryrefslogtreecommitdiff
path: root/japanese/jvim3/Makefile
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2000-10-10 05:10:07 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2000-10-10 05:10:07 +0000
commit0c671252e29ff2032860827f327a90b4f0a8b124 (patch)
treee6782e40f98282d90524cdc165e2571fc8818115 /japanese/jvim3/Makefile
parent9bc63759a549920b80be96f645ed48ed76578a88 (diff)
downloadports-0c671252e29ff2032860827f327a90b4f0a8b124.tar.gz
ports-0c671252e29ff2032860827f327a90b4f0a8b124.zip
Notes
Diffstat (limited to 'japanese/jvim3/Makefile')
-rw-r--r--japanese/jvim3/Makefile10
1 files changed, 10 insertions, 0 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}