summaryrefslogtreecommitdiff
path: root/converters/dvi2tty
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2001-05-26 13:04:32 +0000
committerfredb <fredb@pkgsrc.org>2001-05-26 13:04:32 +0000
commit8b27c7b86a592b5d5d13b301d13036055d79fae8 (patch)
tree2ea24bdea0d2e0fafea0393efd08e1c2171ee909 /converters/dvi2tty
parenta80f91acb1fc12436dc2e5eadd8abbc7ffe57cf3 (diff)
downloadpkgsrc-8b27c7b86a592b5d5d13b301d13036055d79fae8.tar.gz
Initial import of dvi2tty-1.0, a program for previewing DVI files.
Diffstat (limited to 'converters/dvi2tty')
-rw-r--r--converters/dvi2tty/Makefile24
-rw-r--r--converters/dvi2tty/distinfo5
-rw-r--r--converters/dvi2tty/patches/patch-aa13
-rw-r--r--converters/dvi2tty/pkg/DESCR3
-rw-r--r--converters/dvi2tty/pkg/PLIST4
5 files changed, 49 insertions, 0 deletions
diff --git a/converters/dvi2tty/Makefile b/converters/dvi2tty/Makefile
new file mode 100644
index 00000000000..c962c229eed
--- /dev/null
+++ b/converters/dvi2tty/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/26 13:04:32 fredb Exp $
+#
+
+DISTNAME= dvi2tty
+PKGNAME= dvi2tty-1.0
+CATEGORIES= converters
+MASTER_SITES= ftp://tug.ctan.org/pub/tex-archive/dviware/
+
+MAINTAINER= fredb@netbsd.org
+COMMENT= Program for previewing DVI files
+
+pre-patch:
+ cd ${WRKSRC}; \
+ for p in dvi2tty.patch dvi2tty-latin1.patch; \
+ do \
+ ${PATCH} < $$p; \
+ done
+
+do-install:
+ ${INSTALL_PROGRAM} \
+ ${WRKSRC}/disdvi ${WRKSRC}/dvi2tty ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/dvi2tty.1 ${PREFIX}/man/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/dvi2tty/distinfo b/converters/dvi2tty/distinfo
new file mode 100644
index 00000000000..75636fd6155
--- /dev/null
+++ b/converters/dvi2tty/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/05/26 13:04:32 fredb Exp $
+
+SHA1 (dvi2tty.tar.gz) = be9fa4e525f0fda5c8de63d58ff8868f6d008b85
+Size (dvi2tty.tar.gz) = 30720 bytes
+SHA1 (patch-aa) = c6452a3ea322b507b3f7a3c5dc654c0a2b4bfea6
diff --git a/converters/dvi2tty/patches/patch-aa b/converters/dvi2tty/patches/patch-aa
new file mode 100644
index 00000000000..b8de550d428
--- /dev/null
+++ b/converters/dvi2tty/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/05/26 13:04:32 fredb Exp $
+
+--- dvi2tty.c.orig Thu Mar 11 16:00:00 1993
++++ dvi2tty.c Sun Jul 11 03:41:12 1999
+@@ -114,7 +114,7 @@
+ /* don't have terminals with Scand. nat. chars */
+ #define WANTPAGER TRUE /* default: try to pipe through a pager (like */
+ /* more) if stdout is tty and no -o switch */
+-#define DEFPAGER "/usr/bin/pg" /* CHANGE TO YOUR LOCAL PAGER */
++#define DEFPAGER "/usr/bin/more" /* CHANGE TO YOUR LOCAL PAGER */
+
+ /*------------------ end of customization constants ---------------------*/
+
diff --git a/converters/dvi2tty/pkg/DESCR b/converters/dvi2tty/pkg/DESCR
new file mode 100644
index 00000000000..7fea8ba501a
--- /dev/null
+++ b/converters/dvi2tty/pkg/DESCR
@@ -0,0 +1,3 @@
+"dvi2tty" makes it possible to view a dvi file in an xterm, or on
+a text console. Original program by Svante Lindahl, ported to Unix
+by Marcel J.E. Mol.
diff --git a/converters/dvi2tty/pkg/PLIST b/converters/dvi2tty/pkg/PLIST
new file mode 100644
index 00000000000..05740b9590f
--- /dev/null
+++ b/converters/dvi2tty/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/26 13:04:32 fredb Exp $
+bin/disdvi
+bin/dvi2tty
+man/man1/dvi2tty.1