diff --git a/misc/teseq/Makefile b/misc/teseq/Makefile new file mode 100644 index 00000000000..9e27417608e --- /dev/null +++ b/misc/teseq/Makefile @@ -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 + +# 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 diff --git a/misc/teseq/distinfo b/misc/teseq/distinfo new file mode 100644 index 00000000000..53bcf7675da --- /dev/null +++ b/misc/teseq/distinfo @@ -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 diff --git a/misc/teseq/patches/patch-src_teseq-post_sed b/misc/teseq/patches/patch-src_teseq-post_sed new file mode 100644 index 00000000000..23a174e4a9b --- /dev/null +++ b/misc/teseq/patches/patch-src_teseq-post_sed @@ -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 diff --git a/misc/teseq/patches/patch-tests_run_in b/misc/teseq/patches/patch-tests_run_in new file mode 100644 index 00000000000..8f1b246c59e --- /dev/null +++ b/misc/teseq/patches/patch-tests_run_in @@ -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" diff --git a/misc/teseq/pkg/DESCR b/misc/teseq/pkg/DESCR new file mode 100644 index 00000000000..5a5645cde08 --- /dev/null +++ b/misc/teseq/pkg/DESCR @@ -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). diff --git a/misc/teseq/pkg/PLIST b/misc/teseq/pkg/PLIST new file mode 100644 index 00000000000..254268ddf01 --- /dev/null +++ b/misc/teseq/pkg/PLIST @@ -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