summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorbjs <bjs>2008-08-28 01:23:41 +0000
committerbjs <bjs>2008-08-28 01:23:41 +0000
commitdd24dd4b247d5b08eae8a6c1bedeb6c935663289 (patch)
tree7147fdf67f4c8b36fc6b36cda10f5bcf762c7d0e /misc
parentafa7272f10ce9013162f6d1000ad41c8c17ea705 (diff)
downloadpkgsrc-dd24dd4b247d5b08eae8a6c1bedeb6c935663289.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