summaryrefslogtreecommitdiff
path: root/editors/nvi-m17n/files
diff options
context:
space:
mode:
authorsakamoto <sakamoto>1999-08-02 05:11:56 +0000
committersakamoto <sakamoto>1999-08-02 05:11:56 +0000
commit659dda0fbe7a047762ec9c6dbd83ee57ba877359 (patch)
tree572e4f014e04757bc9abbdc13cea207e3a943892 /editors/nvi-m17n/files
parent8217600e16133e29c398c6c4bdbe5d859b202419 (diff)
downloadpkgsrc-659dda0fbe7a047762ec9c6dbd83ee57ba877359.tar.gz
Adapt this package to NetBSD.
Diffstat (limited to 'editors/nvi-m17n/files')
-rwxr-xr-xeditors/nvi-m17n/files/nvi-m17n9
-rw-r--r--editors/nvi-m17n/files/patch-sum4
2 files changed, 13 insertions, 0 deletions
diff --git a/editors/nvi-m17n/files/nvi-m17n b/editors/nvi-m17n/files/nvi-m17n
new file mode 100755
index 00000000000..b977641b370
--- /dev/null
+++ b/editors/nvi-m17n/files/nvi-m17n
@@ -0,0 +1,9 @@
+#! /bin/sh
+EXINIT0="set ${CANNA_OPT} autodetect=${AUTODETECT} fileencoding=${ENCODING} displayencoding=${ENCODING} inputencoding=${ENCODING} noskipdisplay"
+if [ -f ~/.exrc ]; then
+ EXINIT="$EXINIT0 `sed -e '/^set /!d' -e 's/^set //' < ~/.exrc | tr '\012' ' '`"
+else
+ EXINIT=$EXINIT0
+fi
+export EXINIT
+exec ${PREFIX}/bin/nvi "$@"
diff --git a/editors/nvi-m17n/files/patch-sum b/editors/nvi-m17n/files/patch-sum
new file mode 100644
index 00000000000..a63122955c0
--- /dev/null
+++ b/editors/nvi-m17n/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1 1999/08/02 05:11:56 sakamoto Exp $
+
+MD5 (patch-aa) = 7bcb59cb09ca3c677a99983e8638f5b9
+MD5 (patch-ab) = 6de408db4b247550b65d5e05a3bfc946