# ex:ts=8
# Ports collection makefile for:  Splitvt
# Date created:			  Fri Oct 4, 1996
# Whom:				  David O'Brien (obrien@cs.ucdavis.edu)
#
# $FreeBSD: ports/misc/splitvt/Makefile,v 1.21 2009/06/13 18:23:43 pav Exp $
#

PORTNAME=	splitvt
PORTVERSION=	1.6.6
PORTREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	http://www.devolution.com/~slouken/projects/splitvt/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Run two shells in a split window/terminal

HAS_CONFIGURE=	yes
ALL_TARGET=
MAN1=		splitvt.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800000
BROKEN=		does not compile: /usr/include/sys/ioctl_compat.h:42:2: Definitions not available without TTY ioctl compat
.endif

post-patch:
	${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/config.c

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

.include <bsd.port.post.mk>
