From 10677a4b72c535e087f5be4accac01e0e62da660 Mon Sep 17 00:00:00 2001 From: Boris Popov Date: Fri, 10 Dec 1999 11:19:13 +0000 Subject: Add new port for ncplib - a NetWare client for FreeBSD. --- net/ncplib/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ net/ncplib/distinfo | 1 + net/ncplib/pkg-comment | 1 + net/ncplib/pkg-descr | 6 ++++++ net/ncplib/pkg-message | 1 + net/ncplib/pkg-plist | 12 ++++++++++++ net/ncplib/pkg-plist.4 | 5 +++++ net/ncplib/scripts/configure | 25 +++++++++++++++++++++++++ 8 files changed, 91 insertions(+) create mode 100644 net/ncplib/Makefile create mode 100644 net/ncplib/distinfo create mode 100644 net/ncplib/pkg-comment create mode 100644 net/ncplib/pkg-descr create mode 100644 net/ncplib/pkg-message create mode 100644 net/ncplib/pkg-plist create mode 100644 net/ncplib/pkg-plist.4 create mode 100644 net/ncplib/scripts/configure (limited to 'net') 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 +# +# $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 + +.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 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 -- cgit v1.2.3