diff --git a/textproc/ansifilter/DESCR b/textproc/ansifilter/DESCR new file mode 100644 index 000000000000..267b95bb4283 --- /dev/null +++ b/textproc/ansifilter/DESCR @@ -0,0 +1,4 @@ +Ansifilter converts text containing ANSI terminal escape codes into +markup (HTML, LaTeX, TeX, RTF) or plaintext (stripping the escape codes). +Such text is produced for instance by the script(1) utility. +Colors, boldface, underline, italic and blink are supported. diff --git a/textproc/ansifilter/Makefile b/textproc/ansifilter/Makefile new file mode 100644 index 000000000000..7a3225de78bc --- /dev/null +++ b/textproc/ansifilter/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2016/03/12 11:49:19 tnn Exp $ + +DISTNAME= ansifilter-1.15 +CATEGORIES= textproc +MASTER_SITES= http://www.andre-simon.de/zip/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.andre-simon.de/doku/ansifilter/en/ansifilter.php +COMMENT= Converts text containing terminal escape codes into markup +LICENSE= gnu-gpl-v3 + +USE_LANGUAGES= c++ + +MAKE_FILE= makefile +MAKEFLAGS+= PREFIX=${PREFIX:Q} +MAKEFLAGS+= man_dir=${PREFIX:Q}/${PKGMANDIR}/man1 + +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ansifilter/PLIST b/textproc/ansifilter/PLIST new file mode 100644 index 000000000000..c4957fc1365e --- /dev/null +++ b/textproc/ansifilter/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1 2016/03/12 11:49:19 tnn Exp $ +bin/ansifilter +man/man1/ansifilter.1 +share/doc/ansifilter/COPYING +share/doc/ansifilter/ChangeLog +share/doc/ansifilter/INSTALL +share/doc/ansifilter/README diff --git a/textproc/ansifilter/distinfo b/textproc/ansifilter/distinfo new file mode 100644 index 000000000000..3042122a2c55 --- /dev/null +++ b/textproc/ansifilter/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/03/12 11:49:19 tnn Exp $ + +SHA1 (ansifilter-1.15.tar.bz2) = af42df7b6029bd8e0c0fe056518d1e1beee7e0e1 +RMD160 (ansifilter-1.15.tar.bz2) = fe8dfbbb39f0c0949ada2c30ba8c4655ca2b5a3c +SHA512 (ansifilter-1.15.tar.bz2) = 7b624b11579c4a88271325054a6023d139ea7ff67fc5552b8ab8387eb16ea54c40c586f242a5ab7f8dd6bf226041bc61a03b5c6acb50e8f915341bd7cd9cdff8 +Size (ansifilter-1.15.tar.bz2) = 79966 bytes