Display Japanese .dvi files on text terminals.

Submitted by:	max@sfc.wide.ad.jp
This commit is contained in:
Satoshi Asami 1996-04-26 08:29:49 +00:00
parent 1daddb8e98
commit 6947cb1065
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3026
6 changed files with 82 additions and 0 deletions

36
japanese/dvi2tty/Makefile Normal file
View File

@ -0,0 +1,36 @@
# New ports collection makefile for: dvi2tty
# Version required: 5.0
# Date created: 30 Mar. 1996
# Whom: Masafumi NAKANE <masafumi@pobox.com>
#
# $Id: porting.sgml,v 1.16 1996/03/21 14:15:01 asami Exp $
#
DISTNAME= dvi2tty5.0
PKGNAME= jp-dvi2tty-ascii-5.0
CATEGORIES+= japanese print
MASTER_SITES= ftp://ftp.ipc.chiba-u.ac.jp/misc/tex/dviwares/dvi2tty/ \
ftp://ftp.web.ad.jp/pub/TeX/akiu/dviwares/dvi2tty/
PATCH_SITES= ftp://ftp.ipc.chiba-u.ac.jp/misc/tex/dviwares/dvi2tty/ \
ftp://ftp.web.ad.jp/pub/TeX/akiu/dviwares/dvi2tty/
PATCHFILES= dvi2tty-ascii-jtex-patch dvi2tty.c-patch
MAINTAINER= masafumi@pobox.com
RUN_DEPENDS= jless:${PORTSDIR}/japanese/less
PATCH_DIST_STRIP= -p1
do-install:
(for f in jdvi2tty disdvi ; do ; \
${INSTALL} -m 755 -o bin -g bin -cs ${WRKSRC}/$$f ${PREFIX}/bin ; done)
${INSTALL} -m 644 -o bin -g bin -c ${WRKSRC}/dvi2tty.1 ${PREFIX}/man/man1
-ln -sf ${PREFIX}/bin/jdvi2tty ${PREFIX}/bin/dvi2tty
.if !defined(NOMANCOMPRESS)
@gzip -9f ${PREFIX}/man/man1/dvi2tty.1
@ln -sf ${PREFIX}/man/man1/dvi2tty.1.gz ${PREFIX}/man/man1/jdvi2tty.1.gz
.else
@ln -sf ${PREFIX}/man/man1/dvi2tty.1 ${PREFIX}/man/man1/jdvi2tty.1
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (dvi2tty5.0.tar.gz) = 0113d7328fe9e227d94d44f8ea7f29be
MD5 (dvi2tty-ascii-jtex-patch) = cb0a4cd02a6c4fb7b68d684c343847b9
MD5 (dvi2tty.c-patch) = 3766e59036d8bdd044fe302cef0d37d2

View File

@ -0,0 +1,29 @@
*** Makefile.orig Sat Mar 30 05:53:03 1996
--- Makefile Sat Mar 30 05:52:51 1996
***************
*** 1,12 ****
# Makefile for dvi2tty and disdvi 23/01/89 M.J.E. Mol
#
# For BSD Unix use the following CFLAGS definition
! # CFLAGS = -Dstrchr=index
#
# This Makefile does not work for MSDOS. Make your
# own one, or compile by hand.
#
! CFLAGS = -s
all: jdvi2tty disdvi
--- 1,12 ----
# Makefile for dvi2tty and disdvi 23/01/89 M.J.E. Mol
#
# For BSD Unix use the following CFLAGS definition
! CFLAGS += -Dstrchr=index -DDEFPAGER='"${PREFIX}/bin/jless"'
#
# This Makefile does not work for MSDOS. Make your
# own one, or compile by hand.
#
! #CFLAGS = -s
all: jdvi2tty disdvi

View File

@ -0,0 +1 @@
Character-based DVI file previewer.

View File

@ -0,0 +1,8 @@
Dvi2tty is intended for previewing dvi-files on text-only devices
(terminals and lineprinters). The output is not very pretty many
times, but it still saves quite a lot of work, especially if you
have a little ways to walk to a laserprinter, for example.
This package is capable of showing dvi-files created with ASCII-jTeX.
- Masafumi

View File

@ -0,0 +1,5 @@
bin/jdvi2tty
bin/dvi2tty
bin/disdvi
man/man1/dvi2tty.1.gz
man/man1/jdvi2tty.1.gz