aboutsummaryrefslogtreecommitdiff
path: root/misc/ipbt/Makefile
blob: a9b96a7857987f472e58b645306786da7289bd48 (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=	r6489
CATEGORIES=	misc
MASTER_SITES=	http://www.chiark.greenend.org.uk/~sgtatham/ipbt/

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

USE_PERL5_BUILD=	yes

ALL_TARGET=	${PORTNAME}
PLIST_FILES=	bin/ipbt

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
IGNORE=		requires mbrtowc() and wcrtomb()
.endif

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

.include <bsd.port.post.mk>