summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>1999-12-10 11:19:13 +0000
committerbp <bp@FreeBSD.org>1999-12-10 11:19:13 +0000
commitbfa550c19ee3bfa657548f89ff3261866d533954 (patch)
tree47864bdf99c4692ea5c71d4875647f62e25ff56e
parent959834ba9d3067b53c69e3b3c07caec284569e1c (diff)
downloadFreeBSD-ports-bfa550c19ee3bfa657548f89ff3261866d533954.zip
FreeBSD-ports-bfa550c19ee3bfa657548f89ff3261866d533954.tar.gz
Add new port for ncplib - a NetWare client for FreeBSD.
-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 0000000..cbe53fc
--- /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 0000000..4e1508d
--- /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 0000000..51929fa
--- /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 0000000..815212b
--- /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 0000000..11eff22
--- /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 0000000..533ffc8
--- /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 0000000..66457a6
--- /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 0000000..fdd21f1
--- /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
OpenPOWER on IntegriCloud