# New ports collection makefile for: nwrite
# Date created:                	29 July 1997
# Whom:                        	daveh
#
# $FreeBSD: ports/misc/nwrite/Makefile,v 1.11 2004/03/18 01:05:41 trevor Exp $
#

PORTNAME=	nwrite
PORTVERSION=	1.9.2
CATEGORIES=	misc
MASTER_SITES=	ftp://ftp.csua.berkeley.edu/pub/nwrite/

MAINTAINER=	daveh@csua.berkeley.edu
COMMENT=	Improved, recipient configureable replacement for /usr/bin/write

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-clear-procs

MAN1=		nwrite.1
PLIST_FILES=	bin/nwrite
RESTRICTED=	"ownership of the software is in dispute"
NO_CDROM=	${RESTRICTED}
NO_FTP=		${RESTRICTED}
BINGRP=		tty
BINMODE=	2755

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/nwrite ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/nwrite.1.in ${PREFIX}/man/man1/nwrite.1

.include <bsd.port.mk>
