1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/japanese/pine/scripts/configure

24 lines
413 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ ! -f ${WRKSRC}/pine/pine-e.hlp ] ; then
mv ${WRKSRC}/pine/pine.hlp ${WRKSRC}/pine/pine-e.hlp
fi
echo -n "Do you want pine to display its menu and help message in Japanese? (y/n)> "
read ans
case X$ans in
y*|Y*)
ln -fs ${WRKSRC}/pine-j.hlp ${WRKSRC}/pine.hlp
;;
*)
ln -fs ${WRKSRC}/pine/pine-e.hlp ${WRKSRC}/pine/pine.hlp
ed -s ${WRKSRC}/pico/kanji.h << EOP
46c
#undef KANJI_MSG
.
w
EOP
;;
esac