diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-12-12 08:29:40 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-12-12 08:29:40 +0800 |
commit | 011b15a4909663562261c02eb853b7786d0ee66b (patch) | |
tree | d1dde3cfdf9bc49e073ee4aec6198aef7fe65bee /textproc/sansi | |
parent | df7330af82bf7f2a454810a502af797ba3bae3b3 (diff) | |
download | freebsd-ports-gnome-011b15a4909663562261c02eb853b7786d0ee66b.tar.gz freebsd-ports-gnome-011b15a4909663562261c02eb853b7786d0ee66b.tar.zst freebsd-ports-gnome-011b15a4909663562261c02eb853b7786d0ee66b.zip |
sansi was written to strip the ANSI control sequences in files, or
output, often, but not limited to those generated by compilers. I
found it difficult to visually grope/grep the output of script(1)
sessions. Especially with the advent of clang. While it's nice to
replay the script(1) sessions to view the highlighted messages.
It's near impossible to read it inline in your favorite pager, or
text editor;
Enter sansi.
WWW: http://BSDforge.com/projects/textproc/sansi/
PR: 195661
Submitted by: portmaster@bsdforge.com
Diffstat (limited to 'textproc/sansi')
-rw-r--r-- | textproc/sansi/Makefile | 29 | ||||
-rw-r--r-- | textproc/sansi/distinfo | 2 | ||||
-rw-r--r-- | textproc/sansi/pkg-descr | 10 |
3 files changed, 41 insertions, 0 deletions
diff --git a/textproc/sansi/Makefile b/textproc/sansi/Makefile new file mode 100644 index 000000000000..2ab0acd95701 --- /dev/null +++ b/textproc/sansi/Makefile @@ -0,0 +1,29 @@ +# Created by: Chris Hutchinson <portmaster@bsdforge.com> +# $FreeBSD$ + +PORTNAME= sansi +PORTVERSION= 1.0.0 +CATEGORIES= textproc sysutils +MASTER_SITES= http://BSDforge.com/projects/source/textproc/sansi/ + +MAINTAINER= portmaster@bsdforge.com +COMMENT= Removes ANSI control sequences/characters, from files + +LICENSE= ART20 BSD2CLAUSE +LICENSE_COMB= multi + +RUN_DEPENDS= p5-PerlIO-eol>=0:${PORTSDIR}/devel/p5-PerlIO-eol \ + p5-Modern-Perl>=0:${PORTSDIR}/lang/p5-Modern-Perl + +NO_WRKSUBDIR= yes +NO_BUILD= yes + +USES= tar:xz + +PLIST_FILES= sbin/sansi man/man1/sansi.1.gz + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/sansi ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/sansi.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/textproc/sansi/distinfo b/textproc/sansi/distinfo new file mode 100644 index 000000000000..0c808724e01d --- /dev/null +++ b/textproc/sansi/distinfo @@ -0,0 +1,2 @@ +SHA256 (sansi-1.0.0.tar.xz) = 1cb69ac15be82cb27f2f4712a7ef27c1e12fafcde916627b89cc1d1dc95dae97 +SIZE (sansi-1.0.0.tar.xz) = 1816 diff --git a/textproc/sansi/pkg-descr b/textproc/sansi/pkg-descr new file mode 100644 index 000000000000..72ce579ca908 --- /dev/null +++ b/textproc/sansi/pkg-descr @@ -0,0 +1,10 @@ +sansi was written to strip the ANSI control sequences in files, or +output, often, but not limited to those generated by compilers. I +found it difficult to visually grope/grep the output of script(1) +sessions. Especially with the advent of clang. While it's nice to +replay the script(1) sessions to view the highlighted messages. +It's near impossible to read it inline in your favorite pager, or +text editor; +Enter sansi. + +WWW: http://BSDforge.com/projects/textproc/sansi/ |