summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-08-28 01:23:41 +0000
committerbjs <bjs@pkgsrc.org>2008-08-28 01:23:41 +0000
commitcbf85c1cdb9ba6a4d1eda3b3b6efc77601d52127 (patch)
tree7147fdf67f4c8b36fc6b36cda10f5bcf762c7d0e /misc
parent48a8cdbc21f6c45b7879e3fd4306dd56508dcfcf (diff)
downloadpkgsrc-cbf85c1cdb9ba6a4d1eda3b3b6efc77601d52127.tar.gz
Import teseq-1.0.0 as pkgsrc/misc/teseq.
GNU Teseq is a tool for translating files that contain control characters and terminal control sequences, into human-understandable text. It is intended to aid in debugging problems in terminal emulators, software that makes use of special terminal features, and interactions between the two. Teseq is primarily targeted at individuals who possess a basic understanding of terminal control sequences, especially CSI sequences; however, by default Teseq will try to identify and describe the sequences that it encounters, and the behavior they might produce in a terminal. Teseq describes control functions as they are interpreted by VT100-compatible terminals, and/or terminals compliant with the ECMA-48 / ISO/IEC 6429 standard. Teseq does _not_ support describing control functions according to terminal-specific definitions in a database such as termcap or terminfo, though future versions may include limited support for that (*note Future Enhancements::). Therefore, the descriptions Teseq uses for control functions may not necessarily match their actual interpretation by whatever terminal device the characters were actually intended for.
Diffstat (limited to 'misc')
-rw-r--r--misc/teseq/DESCR21
-rw-r--r--misc/teseq/Makefile41
-rw-r--r--misc/teseq/PLIST7
-rw-r--r--misc/teseq/distinfo5
4 files changed, 74 insertions, 0 deletions
diff --git a/misc/teseq/DESCR b/misc/teseq/DESCR
new file mode 100644
index 00000000000..096cba6f5ac
--- /dev/null
+++ b/misc/teseq/DESCR
@@ -0,0 +1,21 @@
+GNU Teseq is a tool for translating files that contain control
+characters and terminal control sequences, into human-understandable
+text. It is intended to aid in debugging problems in terminal
+emulators, software that makes use of special terminal features, and
+interactions between the two.
+
+Teseq is primarily targeted at individuals who possess a basic
+understanding of terminal control sequences, especially CSI sequences;
+however, by default Teseq will try to identify and describe the
+sequences that it encounters, and the behavior they might produce in a
+terminal.
+
+Teseq describes control functions as they are interpreted by
+VT100-compatible terminals, and/or terminals compliant with the ECMA-48 /
+ISO/IEC 6429 standard. Teseq does _not_ support describing control
+functions according to terminal-specific definitions in a database such
+as termcap or terminfo, though future versions may include limited
+support for that (*note Future Enhancements::). Therefore, the
+descriptions Teseq uses for control functions may not necessarily match
+their actual interpretation by whatever terminal device the characters
+were actually intended for.
diff --git a/misc/teseq/Makefile b/misc/teseq/Makefile
new file mode 100644
index 00000000000..08f512210a7
--- /dev/null
+++ b/misc/teseq/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/08/28 01:23:41 bjs Exp $
+#
+
+DISTNAME= teseq-1.0.0
+CATEGORIES= misc
+MASTER_SITES= http://ftp.gnu.org/gnu/teseq/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= bjs@NetBSD.org
+HOMEPAGE= http://ftp.gnu.org/gnu/teseq/
+COMMENT= Terminal control sequence analyzer
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= perl:run sed:run
+
+CONFIGURE_ENV+= AUTOCONF=true # files pre-built, not needed
+CONFIGURE_ENV+= MAKEINFO=true
+CONFIGURE_ENV+= HELP2MAN=true
+
+INFO_FILES= yes
+
+REPLACE_PERL= reseq.in
+REPLACE_SED= src/teseq-post.sed
+REPLACE_SH= tests/run.in
+
+REPLACE_INTERPRETER+= sed
+REPLACE.sed.old= .*sed
+REPLACE.sed.new= ${SED}
+REPLACE_FILES.sed= ${REPLACE_SED}
+
+SUBST_CLASSES+= infodir
+SUBST_FILES.infodir= Makefile.in
+SUBST_MESSAGE.infodir= Fixing info directory pathname
+SUBST_SED.infodir= -e 's,@infodir@,${PREFIX}/${PKGINFODIR},g'
+SUBST_STAGE.infodir= pre-configure
+
+TEST_TARGET= check
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/teseq/PLIST b/misc/teseq/PLIST
new file mode 100644
index 00000000000..5a39a6298c9
--- /dev/null
+++ b/misc/teseq/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/08/28 01:23:41 bjs Exp $
+bin/reseq
+bin/teseq
+info/teseq.info
+libexec/teseq-post.sed
+man/man1/reseq.1
+man/man1/teseq.1
diff --git a/misc/teseq/distinfo b/misc/teseq/distinfo
new file mode 100644
index 00000000000..131b31c25e9
--- /dev/null
+++ b/misc/teseq/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/08/28 01:23:41 bjs Exp $
+
+SHA1 (teseq-1.0.0.tar.bz2) = 17f625bf48392c2658fc24ff8f280ae299eae323
+RMD160 (teseq-1.0.0.tar.bz2) = 32b45ecdcb96b5c87968830b06eb2dbefa95b9f3
+Size (teseq-1.0.0.tar.bz2) = 227972 bytes