summaryrefslogtreecommitdiff
path: root/japanese/dvi2tty/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/dvi2tty/Makefile')
-rw-r--r--japanese/dvi2tty/Makefile36
1 files changed, 36 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>