aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/dvi2tty
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-04-26 16:29:49 +0800
committerasami <asami@FreeBSD.org>1996-04-26 16:29:49 +0800
commit50976021ba9d3e51f1ff3778370f07fb138c3992 (patch)
tree0c763992f7bf0d39681c7052b94cf3bec319fbe4 /japanese/dvi2tty
parent4285d0aef9ace56dd21f947725ca0b6f85811cd1 (diff)
downloadfreebsd-ports-gnome-50976021ba9d3e51f1ff3778370f07fb138c3992.tar.gz
freebsd-ports-gnome-50976021ba9d3e51f1ff3778370f07fb138c3992.tar.zst
freebsd-ports-gnome-50976021ba9d3e51f1ff3778370f07fb138c3992.zip
Display Japanese .dvi files on text terminals.
Submitted by: max@sfc.wide.ad.jp
Diffstat (limited to 'japanese/dvi2tty')
-rw-r--r--japanese/dvi2tty/Makefile36
-rw-r--r--japanese/dvi2tty/distinfo3
-rw-r--r--japanese/dvi2tty/files/patch-aa29
-rw-r--r--japanese/dvi2tty/pkg-comment1
-rw-r--r--japanese/dvi2tty/pkg-descr8
-rw-r--r--japanese/dvi2tty/pkg-plist5
6 files changed, 82 insertions, 0 deletions
diff --git a/japanese/dvi2tty/Makefile b/japanese/dvi2tty/Makefile
new file mode 100644
index 000000000000..f5aeeb748ffc
--- /dev/null
+++ b/japanese/dvi2tty/Makefile
@@ -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>
diff --git a/japanese/dvi2tty/distinfo b/japanese/dvi2tty/distinfo
new file mode 100644
index 000000000000..e1b151cde2f1
--- /dev/null
+++ b/japanese/dvi2tty/distinfo
@@ -0,0 +1,3 @@
+MD5 (dvi2tty5.0.tar.gz) = 0113d7328fe9e227d94d44f8ea7f29be
+MD5 (dvi2tty-ascii-jtex-patch) = cb0a4cd02a6c4fb7b68d684c343847b9
+MD5 (dvi2tty.c-patch) = 3766e59036d8bdd044fe302cef0d37d2
diff --git a/japanese/dvi2tty/files/patch-aa b/japanese/dvi2tty/files/patch-aa
new file mode 100644
index 000000000000..c15c40f6b4aa
--- /dev/null
+++ b/japanese/dvi2tty/files/patch-aa
@@ -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
+
diff --git a/japanese/dvi2tty/pkg-comment b/japanese/dvi2tty/pkg-comment
new file mode 100644
index 000000000000..839d738bdf85
--- /dev/null
+++ b/japanese/dvi2tty/pkg-comment
@@ -0,0 +1 @@
+Character-based DVI file previewer.
diff --git a/japanese/dvi2tty/pkg-descr b/japanese/dvi2tty/pkg-descr
new file mode 100644
index 000000000000..5d604cd8f2a9
--- /dev/null
+++ b/japanese/dvi2tty/pkg-descr
@@ -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
diff --git a/japanese/dvi2tty/pkg-plist b/japanese/dvi2tty/pkg-plist
new file mode 100644
index 000000000000..dadb52897db3
--- /dev/null
+++ b/japanese/dvi2tty/pkg-plist
@@ -0,0 +1,5 @@
+bin/jdvi2tty
+bin/dvi2tty
+bin/disdvi
+man/man1/dvi2tty.1.gz
+man/man1/jdvi2tty.1.gz