aboutsummaryrefslogtreecommitdiffstats
path: root/misc/splitvt/Makefile
blob: 5ea0629c4c9be2145f03f140246d671d0e6550f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: David O'Brien (obrien@cs.ucdavis.edu)
# $FreeBSD$

PORTNAME=   splitvt
PORTVERSION=    1.6.6
PORTREVISION=   2
CATEGORIES= misc
MASTER_SITES=   http://slouken.libsdl.org/projects/splitvt/

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

DEPRECATED= Broken for more than 6 month
EXPIRATION_DATE=    2013-03-05

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|" -O"|"${CFLAGS}"|g ; \
         s|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.c

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

.include <bsd.port.post.mk>