- 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>
This commit is contained in:
Sergey Matveychuk 2006-05-01 21:54:07 +00:00
parent 832a1b9d7b
commit b83dac5d24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161136
5 changed files with 11 additions and 42 deletions

View file

@ -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>

View file

@ -1 +0,0 @@
After building please read README file in the build directory.

View file

@ -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%%

View file

@ -1,5 +0,0 @@
bin/ipxping
bin/ncplpd
bin/ncprint
bin/ncpsend
bin/ncpurge

View file

@ -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