aboutsummaryrefslogtreecommitdiff
path: root/textproc/sansi
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-12 00:29:40 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-12 00:29:40 +0000
commitfdbee8e1ea750a1a9354b32cdfcf1a8dfda2836b (patch)
treed1dde3cfdf9bc49e073ee4aec6198aef7fe65bee /textproc/sansi
parentc189868128fe8c3a91193fb48800fbd320b128b8 (diff)
Notes
Diffstat (limited to 'textproc/sansi')
-rw-r--r--textproc/sansi/Makefile29
-rw-r--r--textproc/sansi/distinfo2
-rw-r--r--textproc/sansi/pkg-descr10
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/