summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2016-03-12 11:49:19 +0000
committertnn <tnn@pkgsrc.org>2016-03-12 11:49:19 +0000
commit1f6568c9534e141a6b83edce9413a6e45a2403dd (patch)
treead3c4bf98eed63aa41d56ce6038a5697516cc218 /textproc
parente9ea655b00cf496bce78dcdebda1f110b7ffca40 (diff)
downloadpkgsrc-1f6568c9534e141a6b83edce9413a6e45a2403dd.tar.gz
Import ansifilter-1.15 as textproc/ansifilter.
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.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ansifilter/DESCR4
-rw-r--r--textproc/ansifilter/Makefile19
-rw-r--r--textproc/ansifilter/PLIST7
-rw-r--r--textproc/ansifilter/distinfo6
4 files changed, 36 insertions, 0 deletions
diff --git a/textproc/ansifilter/DESCR b/textproc/ansifilter/DESCR
new file mode 100644
index 00000000000..267b95bb428
--- /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 00000000000..7a3225de78b
--- /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 00000000000..c4957fc1365
--- /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 00000000000..3042122a2c5
--- /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