summaryrefslogtreecommitdiff
path: root/misc/ipbt/Makefile
blob: d818a881a3e5265fb138e284740e77b7294abca0 (plain)
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
36
37
38
39
40
# $NetBSD: Makefile,v 1.7 2013/05/31 12:41:26 wiz Exp $
#

DISTNAME=	ipbt-r8765
PKGNAME=	ipbt-8765
PKGREVISION=	2
CATEGORIES=	misc
# The upstream distfile is apparently rebuilt every night with
# newly regenerated docs that have different timestamps. Use the
# copy cached on ftp.NetBSD.org so the checksum works.
MASTER_SITES=	${MASTER_SITE_LOCAL}
DIST_SUBDIR=	ipbt-20100101
#MASTER_SITES=	http://www.chiark.greenend.org.uk/~sgtatham/ipbt/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.chiark.greenend.org.uk/~sgtatham/ipbt/
COMMENT=	High-tech ttyrec player

USE_TOOLS+=		perl
REPLACE_PERL=		ttydump ttygrep
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

BUILD_TARGET=		ipbt

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "NetBSD"
# NetBSD's curses do not work
USE_BUILTIN.ncursesw=	no
.endif

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

.include "../../devel/ncursesw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"