aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>2001-05-19 06:20:10 +0800
committernik <nik@FreeBSD.org>2001-05-19 06:20:10 +0800
commit633a380056cd3aa5d0dd355c338003efff36db7a (patch)
treef0f2c35aa5b9a7665175f58052d8cc2b026df940 /textproc
parent26b5bae026f06cbdc2471cc8d0ba957e7e36f32b (diff)
downloadfreebsd-ports-gnome-633a380056cd3aa5d0dd355c338003efff36db7a.tar.gz
freebsd-ports-gnome-633a380056cd3aa5d0dd355c338003efff36db7a.tar.zst
freebsd-ports-gnome-633a380056cd3aa5d0dd355c338003efff36db7a.zip
Convert scrshot(1) output to plain text, optionally replacing eight bit
line drawing characters with seven bit ones.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/shot2txt/Makefile24
-rw-r--r--textproc/shot2txt/distinfo1
-rw-r--r--textproc/shot2txt/pkg-comment1
-rw-r--r--textproc/shot2txt/pkg-descr3
-rw-r--r--textproc/shot2txt/pkg-plist1
6 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 0a359392626e..a90c11250406 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -159,6 +159,7 @@
SUBDIR += sgmltools
SUBDIR += sgmltools-lite
SUBDIR += sgrep
+ SUBDIR += shot2txt
SUBDIR += smartdoc
SUBDIR += sp
SUBDIR += tclExpat
diff --git a/textproc/shot2txt/Makefile b/textproc/shot2txt/Makefile
new file mode 100644
index 000000000000..3851cbd29015
--- /dev/null
+++ b/textproc/shot2txt/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: shot2png
+# Date created: 18 May 2001
+# Whom: nik
+#
+# $FreeBSD$
+#
+
+PORTNAME= shot2txt
+PORTVERSION= 1.0
+CATEGORIES= textproc
+
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= nik
+NO_WRKSUBDIR= yes
+
+MAINTAINER= nik@freebsd.org
+
+MAN1= shot2txt.1
+MANCOMPRESSED= yes
+
+do-install:
+ @cd ${WRKSRC}; ${MAKE} BINDIR=${LOCALBASE}/bin SHAREDIR=${LOCALBASE} install
+
+.include <bsd.port.mk>
diff --git a/textproc/shot2txt/distinfo b/textproc/shot2txt/distinfo
new file mode 100644
index 000000000000..c9582ab24500
--- /dev/null
+++ b/textproc/shot2txt/distinfo
@@ -0,0 +1 @@
+MD5 (shot2txt-1.0.tar.gz) = 34676dd6cde1d28e3693992c5f196ba2
diff --git a/textproc/shot2txt/pkg-comment b/textproc/shot2txt/pkg-comment
new file mode 100644
index 000000000000..344b573cb601
--- /dev/null
+++ b/textproc/shot2txt/pkg-comment
@@ -0,0 +1 @@
+Converts the output of scrshot(1) to text
diff --git a/textproc/shot2txt/pkg-descr b/textproc/shot2txt/pkg-descr
new file mode 100644
index 000000000000..2a3a32e7eec3
--- /dev/null
+++ b/textproc/shot2txt/pkg-descr
@@ -0,0 +1,3 @@
+shot2png takes a syscons screenshot generated by scrshot(1) and
+converts it in to a text file, optionally rewriting the eight bit
+line drawing characters to seven bit equivalents.
diff --git a/textproc/shot2txt/pkg-plist b/textproc/shot2txt/pkg-plist
new file mode 100644
index 000000000000..84c9cc3b052a
--- /dev/null
+++ b/textproc/shot2txt/pkg-plist
@@ -0,0 +1 @@
+bin/shot2txt