aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-05-02 05:54:07 +0800
committersem <sem@FreeBSD.org>2006-05-02 05:54:07 +0800
commit93944ca28d2f2bb558aa94e3a91d8bf5700369f6 (patch)
tree5921e7b2deb6142ae83b6f28c531da80c65f25d3 /net
parentf67e4c046453651d089ea5d1892dec7b2d3937a1 (diff)
downloadfreebsd-ports-gnome-93944ca28d2f2bb558aa94e3a91d8bf5700369f6.tar.gz
freebsd-ports-gnome-93944ca28d2f2bb558aa94e3a91d8bf5700369f6.tar.zst
freebsd-ports-gnome-93944ca28d2f2bb558aa94e3a91d8bf5700369f6.zip
- Unbreak
- Change COMMENT - Install README file as doc - Fix pkg-plist. Remove second pkg-plist - Make the port non-interactive - Remove useless pkg-message PR: ports/96028 (inspired by) Submitted by: Tim Kellers <kellers@njit.edu>
Diffstat (limited to 'net')
-rw-r--r--net/ncplib/Makefile19
-rw-r--r--net/ncplib/pkg-message1
-rw-r--r--net/ncplib/pkg-plist9
-rw-r--r--net/ncplib/pkg-plist.45
-rw-r--r--net/ncplib/scripts/configure19
5 files changed, 11 insertions, 42 deletions
diff --git a/net/ncplib/Makefile b/net/ncplib/Makefile
index 0cd122bbf87f..d92637a38681 100644
--- a/net/ncplib/Makefile
+++ b/net/ncplib/Makefile
@@ -11,28 +11,21 @@ CATEGORIES= net
MASTER_SITES= http://rbp.chat.ru/pub/nwlib/
MAINTAINER= ports@FreeBSD.org
-COMMENT= Client for Novell NetWare servers
-
-BROKEN= Incorrect pkg-plist
+COMMENT= Utilites to work with Novell NetWare servers
.if !exists(/usr/src/sys/kern/vnode_if.src)
IGNORE= requires kernel source
.endif
-IS_INTERACTIVE= true
-
MANCOMPRESSED= yes
-.include <bsd.port.pre.mk>
-
MAN1= ncpasswd.1 ncprint.1 ncpsend.1 ncpurge.1
MAN8= ipxping.8
-.if ${OSVERSION} >= 400000
-PLIST= ${PKGDIR}/pkg-plist.4
-.else
-MAN1+= ncplist.1 ncplogin.1 ncplogout.1
-MAN8+= mount_nwfs.8
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/ncplib/pkg-message b/net/ncplib/pkg-message
deleted file mode 100644
index 11eff222ab67..000000000000
--- a/net/ncplib/pkg-message
+++ /dev/null
@@ -1 +0,0 @@
-After building please read README file in the build directory.
diff --git a/net/ncplib/pkg-plist b/net/ncplib/pkg-plist
index 533ffc80a2e3..883fd6b8e888 100644
--- a/net/ncplib/pkg-plist
+++ b/net/ncplib/pkg-plist
@@ -1,12 +1,9 @@
+bin/ipxping
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
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/net/ncplib/pkg-plist.4 b/net/ncplib/pkg-plist.4
deleted file mode 100644
index 66457a6dad75..000000000000
--- a/net/ncplib/pkg-plist.4
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/ipxping
-bin/ncplpd
-bin/ncprint
-bin/ncpsend
-bin/ncpurge
diff --git a/net/ncplib/scripts/configure b/net/ncplib/scripts/configure
index fdd21f1454d5..dc6d4cd85687 100644
--- a/net/ncplib/scripts/configure
+++ b/net/ncplib/scripts/configure
@@ -2,24 +2,9 @@
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
+echo "NCP_NLS_KOI_866=" >> $CMK
+echo "NCP_NLS_DEFAULT=NCP_NLS_KOI_866" >> $CMK