summaryrefslogtreecommitdiff
path: root/net
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
parentFix PLIST. (diff)
Add new port for ncplib - a NetWare client for FreeBSD.
Notes
Notes: svn path=/head/; revision=23722
Diffstat (limited to 'net')
-rw-r--r--net/ncplib/Makefile40
-rw-r--r--net/ncplib/distinfo1
-rw-r--r--net/ncplib/pkg-comment1
-rw-r--r--net/ncplib/pkg-descr6
-rw-r--r--net/ncplib/pkg-message1
-rw-r--r--net/ncplib/pkg-plist12
-rw-r--r--net/ncplib/pkg-plist.45
-rw-r--r--net/ncplib/scripts/configure25
8 files changed, 91 insertions, 0 deletions
diff --git a/net/ncplib/Makefile b/net/ncplib/Makefile
new file mode 100644
index 000000000000..cbe53fcea764
--- /dev/null
+++ b/net/ncplib/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: ncplib
+# Version required: 1.3.4
+# Date created: 9 Dec 1999
+# Whom: Boris Popov <bp@butya.kz>
+#
+# $Id$
+#
+
+DISTNAME= ncplib-1.3.4
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.butya.kz/pub/nwlib/ \
+ http://www.chat.ru/~rbp/pub/nwlib/
+
+MAINTAINER= bp@butya.kz
+
+.if !exists(/usr/src/sys/kern/vnode_if.src)
+BROKEN= requires kernel source
+.endif
+
+NO_PACKAGE= is interactive
+
+MANCOMPRESSED= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 310000
+.error this program requires FreeBSD 3.1-stable or later.
+.endif
+
+MAN1= ncpasswd.1 ncprint.1 ncpsend.1 ncpurge.1
+MAN8= ipxping.8
+
+.if ${OSVERSION} >= 400000
+PLIST= ${PKGDIR}/PLIST.4
+.else
+MAN1+= ncplist.1 ncplogin.1 ncplogout.1
+MAN8+= mount_nwfs.8
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/ncplib/distinfo b/net/ncplib/distinfo
new file mode 100644
index 000000000000..4e1508d014f6
--- /dev/null
+++ b/net/ncplib/distinfo
@@ -0,0 +1 @@
+MD5 (ncplib-1.3.4.tar.gz) = d70136d99db088843f7c23169b6dfb70
diff --git a/net/ncplib/pkg-comment b/net/ncplib/pkg-comment
new file mode 100644
index 000000000000..51929fa5427b
--- /dev/null
+++ b/net/ncplib/pkg-comment
@@ -0,0 +1 @@
+NetWare client for FreeBSD.
diff --git a/net/ncplib/pkg-descr b/net/ncplib/pkg-descr
new file mode 100644
index 000000000000..815212be751e
--- /dev/null
+++ b/net/ncplib/pkg-descr
@@ -0,0 +1,6 @@
+ncplib is a free client for NetWare servers.
+WWW: http://www.chat.ru/~rbp/ncpleng.html
+
+--
+Boris Popov
+rbp@chat.ru
diff --git a/net/ncplib/pkg-message b/net/ncplib/pkg-message
new file mode 100644
index 000000000000..11eff222ab67
--- /dev/null
+++ b/net/ncplib/pkg-message
@@ -0,0 +1 @@
+After building please read README file in the build directory.
diff --git a/net/ncplib/pkg-plist b/net/ncplib/pkg-plist
new file mode 100644
index 000000000000..533ffc80a2e3
--- /dev/null
+++ b/net/ncplib/pkg-plist
@@ -0,0 +1,12 @@
+bin/ncpasswd
+bin/ncplist
+bin/ncplogin
+bin/ncplogout
+bin/ncplpd
+bin/ncprint
+bin/ncpsend
+bin/ncpurge
+sbin/ncpsvc
+@cwd /
+modules/nwfs.ko
+sbin/mount_nwfs
diff --git a/net/ncplib/pkg-plist.4 b/net/ncplib/pkg-plist.4
new file mode 100644
index 000000000000..66457a6dad75
--- /dev/null
+++ b/net/ncplib/pkg-plist.4
@@ -0,0 +1,5 @@
+bin/ipxping
+bin/ncplpd
+bin/ncprint
+bin/ncpsend
+bin/ncpurge
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