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

PORTNAME=   ipbt
DISTVERSION=    r8765
CATEGORIES= misc
MASTER_SITES=   http://www.chiark.greenend.org.uk/~sgtatham/ipbt/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= uqs

MAINTAINER= uqs@FreeBSD.org
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>