summaryrefslogtreecommitdiff
path: root/net/ncplib/scripts
diff options
context:
space:
mode:
authorBoris Popov <bp@FreeBSD.org>1999-12-10 11:19:13 +0000
committerBoris Popov <bp@FreeBSD.org>1999-12-10 11:19:13 +0000
commit10677a4b72c535e087f5be4accac01e0e62da660 (patch)
tree94e2a168c6e5c1fda46283ff3f979967a7eb9abe /net/ncplib/scripts
parentFix PLIST. (diff)
Add new port for ncplib - a NetWare client for FreeBSD.
Notes
Notes: svn path=/head/; revision=23722
Diffstat (limited to 'net/ncplib/scripts')
-rw-r--r--net/ncplib/scripts/configure25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/ncplib/scripts/configure b/net/ncplib/scripts/configure
new file mode 100644
index 000000000000..fdd21f1454d5
--- /dev/null
+++ b/net/ncplib/scripts/configure
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+CMK=${WRKSRC}/config.mk
+
+read_yn() {
+ read res
+ case "$res" in
+ y*) done=y ;;
+ *) res=n ;;
+ esac
+}
+
+
+echo -n "Do you want to include 866 codepage support ? [n]"
+read_yn
+use866=$res
+
+echo "SRCTREE=/usr/src" > $CMK
+echo "PREFIX="$PREFIX >> $CMK
+echo "BUILDKLD=yes" >> $CMK
+
+if [ $use866 = y ]; then
+ echo "NCP_NLS_KOI_866=" >> $CMK
+ echo "NCP_NLS_DEFAULT=NCP_NLS_KOI_866" >> $CMK
+fi