Import GNU teseq 1.0.0.

GNU Teseq is a tool for analyzing files that contain control characters
and terminal control sequences. It is intended to be useful for diagnosing
terminal emulators, and programs that make heavy use of terminal
features (such as those based on the Curses library).
This commit is contained in:
naddy 2008-10-28 14:04:43 +00:00
parent b2882dfc8c
commit 162fba0b57
6 changed files with 71 additions and 0 deletions

34
misc/teseq/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/28 14:04:43 naddy Exp $
COMMENT= analyze terminal control sequences
DISTNAME= teseq-1.0.0
CATEGORIES= misc
HOMEPAGE= http://www.gnu.org/software/teseq/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=teseq/}
# enable extended regression tests
FLAVORS= regress
FLAVOR?=
WANTLIB= c
CONFIGURE_STYLE=gnu
MAKE_FLAGS= AM_CFLAGS=""
.if ${FLAVOR:L:Mregress}
BUILD_DEPENDS= ::devel/check
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif
.include <bsd.port.mk>

5
misc/teseq/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (teseq-1.0.0.tar.gz) = O+wdTuIqSgh/Eaost0hd3g==
RMD160 (teseq-1.0.0.tar.gz) = uETM7sowSjwcJoLwLeBerRCNEFI=
SHA1 (teseq-1.0.0.tar.gz) = kXrfEpA5cbU/1mQjUf2O2l34Xq0=
SHA256 (teseq-1.0.0.tar.gz) = 9pEcJtGaUoTrXYXY67NoJlloLF8CgWZ+qOXiqVNBn9I=
SIZE (teseq-1.0.0.tar.gz) = 278275

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-src_teseq-post_sed,v 1.1.1.1 2008/10/28 14:04:43 naddy Exp $
--- src/teseq-post.sed.orig Sat Oct 25 16:37:56 2008
+++ src/teseq-post.sed Sat Oct 25 16:38:04 2008
@@ -1,4 +1,4 @@
-#!/bin/sed -f
+#!/usr/bin/sed -f
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-tests_run_in,v 1.1.1.1 2008/10/28 14:04:43 naddy Exp $
--- tests/run.in.orig Sat Oct 25 16:14:54 2008
+++ tests/run.in Sat Oct 25 16:15:07 2008
@@ -37,7 +37,7 @@ get_vars()
r_expected="${r_expected:-$input}"
}
-if [ "$#" -ge 1 -a "${1}" = "-r" ]
+if [ "$#" -ge 1 -a X"${1}" = X"-r" ]
then
echo
echo "RUNNING RESEQ TESTS"

4
misc/teseq/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
GNU Teseq is a tool for analyzing files that contain control characters
and terminal control sequences. It is intended to be useful for diagnosing
terminal emulators, and programs that make heavy use of terminal
features (such as those based on the Curses library).

7
misc/teseq/pkg/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/28 14:04:43 naddy Exp $
bin/reseq
@bin bin/teseq
@info info/teseq.info
libexec/teseq-post.sed
@man man/man1/reseq.1
@man man/man1/teseq.1