summaryrefslogtreecommitdiff
path: root/misc/ipbt
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>2007-06-08 06:07:25 +0000
committerpooka <pooka@pkgsrc.org>2007-06-08 06:07:25 +0000
commit6b2cad4bae3b6aa49ff0525a22e287f96015e77c (patch)
tree2aa83f8026f6000f080af35e3231cb3c85fe1ee5 /misc/ipbt
parent1af44cce13f491d49360067b447caadedf3201e3 (diff)
downloadpkgsrc-6b2cad4bae3b6aa49ff0525a22e287f96015e77c.tar.gz
ipbt, a high-tech ttyrec player with the ability to seek
Diffstat (limited to 'misc/ipbt')
-rw-r--r--misc/ipbt/DESCR7
-rw-r--r--misc/ipbt/Makefile31
-rw-r--r--misc/ipbt/PLIST5
-rw-r--r--misc/ipbt/distinfo6
-rw-r--r--misc/ipbt/patches/patch-aa13
5 files changed, 62 insertions, 0 deletions
diff --git a/misc/ipbt/DESCR b/misc/ipbt/DESCR
new file mode 100644
index 00000000000..9bc443b0831
--- /dev/null
+++ b/misc/ipbt/DESCR
@@ -0,0 +1,7 @@
+IPBT plays ttyrec files, like ttyplay, but provides the ability to
+seek forward and backward in the recorded file. Additional features
+include slow motion and fast forwarding.
+
+The ttydump and ttygrep utilities provide functionality to extract
+part of the recorded file and to search for frames containing a
+search pattern, respectively.
diff --git a/misc/ipbt/Makefile b/misc/ipbt/Makefile
new file mode 100644
index 00000000000..a3bd0b1bf32
--- /dev/null
+++ b/misc/ipbt/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/06/08 06:07:25 pooka Exp $
+#
+
+DISTNAME= ipbt-r7471
+PKGNAME= ipbt-7471
+CATEGORIES= misc
+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
+BUILD_TARGET= ipbt
+
+INCOMPAT_CURSES=NetBSD-*-*
+
+post-build:
+ ${SED} -e "s,/usr/bin/perl,${PERL5}," \
+ ${WRKSRC}/ttydump > ${WRKSRC}/ttydump.path
+ ${SED} -e "s,/usr/bin/perl,${PERL5}," \
+ ${WRKSRC}/ttygrep > ${WRKSRC}/ttygrep.path
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ipbt ${PREFIX}/bin/ipbt
+ ${INSTALL_MAN} ${WRKSRC}/ipbt.1 ${PREFIX}/${PKGMANDIR}/man1/ipbt.1
+ ${INSTALL_SCRIPT} ${WRKSRC}/ttydump.path ${PREFIX}/bin/ttydump
+ ${INSTALL_SCRIPT} ${WRKSRC}/ttygrep.path ${PREFIX}/bin/ttygrep
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/ipbt/PLIST b/misc/ipbt/PLIST
new file mode 100644
index 00000000000..79c15af6618
--- /dev/null
+++ b/misc/ipbt/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/06/08 06:07:25 pooka Exp $
+bin/ipbt
+bin/ttydump
+bin/ttygrep
+man/man1/ipbt.1
diff --git a/misc/ipbt/distinfo b/misc/ipbt/distinfo
new file mode 100644
index 00000000000..207c2d0e18a
--- /dev/null
+++ b/misc/ipbt/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/06/08 06:07:25 pooka Exp $
+
+SHA1 (ipbt-r7471.tar.gz) = 0d3925bb2bb4b9b45279136c997e1f056ca8dcb8
+RMD160 (ipbt-r7471.tar.gz) = 2f9e7054eba25569e6ae8827505062740c778030
+Size (ipbt-r7471.tar.gz) = 177243 bytes
+SHA1 (patch-aa) = 849f97f82ea635f2cb022e5e8c1a86d242734f7e
diff --git a/misc/ipbt/patches/patch-aa b/misc/ipbt/patches/patch-aa
new file mode 100644
index 00000000000..81b56d6c168
--- /dev/null
+++ b/misc/ipbt/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/06/08 06:07:25 pooka Exp $
+
+--- Makefile.orig 2007-04-19 15:24:41.000000000 +0300
++++ Makefile 2007-06-08 08:57:16.000000000 +0300
+@@ -7,7 +7,7 @@
+ wcwidth.o xenc.o
+
+ ipbt: $(IPBT)
+- $(CC) $(LFLAGS) -o ipbt $(IPBT) -lm -lncurses
++ $(CC) $(LDFLAGS) -o ipbt $(IPBT) -lm -lncurses
+
+ be_none.o: be_none.c putty.h puttyps.h unix.h charset.h network.h misc.h \
+ puttymem.h