summaryrefslogblamecommitdiff
path: root/misc/ipbt/Makefile
blob: 534238862d3dcad985b5fd7eb73a7f61bccf5f8a (plain) (tree)


































                                                                        
# 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/	\
		https://www.spoerlein.net/pub/

MAINTAINER=	uspoerlein@gmail.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>