# Created by: Steve Woodford <scw@netbsd.hut.fi>

PORTNAME=	tits
PORTVERSION=	1.3.0
CATEGORIES=	comms
MASTER_SITES=	http://www.mctavish.co.uk/tits/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Server which provides telnet(1) access to one or more tty ports

LICENSE=	BSD4CLAUSE

USES=		uidfix
USE_RC_SUBR=	tits

MAKE_ENV=	BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man

post-patch:
	${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/tits.8

post-install:
	${INSTALL_DATA} ${WRKSRC}/tits.conf \
		${STAGEDIR}${PREFIX}/etc/tits.conf.default

.include <bsd.port.mk>
