aboutsummaryrefslogtreecommitdiff
path: root/misc/ipbt/Makefile
blob: e65e459d07e2cf8998bc813a65c4a1962262e7df (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
# New ports collection makefile for:   ipbt
# Date created:                7 May 2006
# Whom:                        Matt Mills <matt_mills@btopenworld.com>
#
# $FreeBSD$
#

PORTNAME=	ipbt
DISTVERSION=	r7471
CATEGORIES=	misc
MASTER_SITES=	http://www.chiark.greenend.org.uk/~sgtatham/ipbt/ \
		http://freebsd.unixfreunde.de/sources/

MAINTAINER=	matt_mills@btopenworld.com
COMMENT=	A high-tech ttyrec player with improvements over ttyplay

MAN1=		ipbt.1

USE_PERL5=	yes

ALL_TARGET=	${PORTNAME}
PLIST_FILES=	bin/ipbt bin/ttygrep bin/ttydump

post-patch:
	@${REINPLACE_CMD} -e '1s|.*|#!${PERL} -w|' ${WRKSRC}/sbcsgen.pl
	@${REINPLACE_CMD} -e 's|perl|${PERL}|' ${WRKSRC}/${MAKEFILE}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/ttydump ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/ttygrep ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/ipbt.1 ${PREFIX}/man/man1

.include <bsd.port.mk>