svn commit: r374562 - in head/textproc: . sansi

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Dec 12 00:29:42 UTC 2014


Author: amdmi3
Date: Fri Dec 12 00:29:40 2014
New Revision: 374562
URL: https://svnweb.freebsd.org/changeset/ports/374562
QAT: https://qat.redports.org/buildarchive/r374562/

Log:
  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 at bsdforge.com

Added:
  head/textproc/sansi/
  head/textproc/sansi/Makefile   (contents, props changed)
  head/textproc/sansi/distinfo   (contents, props changed)
  head/textproc/sansi/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Thu Dec 11 23:59:10 2014	(r374561)
+++ head/textproc/Makefile	Fri Dec 12 00:29:40 2014	(r374562)
@@ -1396,6 +1396,7 @@
     SUBDIR += s5
     SUBDIR += sablotron
     SUBDIR += sagasu
+    SUBDIR += sansi
     SUBDIR += sarep
     SUBDIR += sary
     SUBDIR += sassc

Added: head/textproc/sansi/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/sansi/Makefile	Fri Dec 12 00:29:40 2014	(r374562)
@@ -0,0 +1,29 @@
+# Created by: Chris Hutchinson <portmaster at bsdforge.com>
+# $FreeBSD$
+
+PORTNAME=	sansi
+PORTVERSION=	1.0.0
+CATEGORIES=	textproc sysutils
+MASTER_SITES=	http://BSDforge.com/projects/source/textproc/sansi/
+
+MAINTAINER=	portmaster at 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>

Added: head/textproc/sansi/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/sansi/distinfo	Fri Dec 12 00:29:40 2014	(r374562)
@@ -0,0 +1,2 @@
+SHA256 (sansi-1.0.0.tar.xz) = 1cb69ac15be82cb27f2f4712a7ef27c1e12fafcde916627b89cc1d1dc95dae97
+SIZE (sansi-1.0.0.tar.xz) = 1816

Added: head/textproc/sansi/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/sansi/pkg-descr	Fri Dec 12 00:29:40 2014	(r374562)
@@ -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/


More information about the svn-ports-head mailing list