summaryrefslogtreecommitdiffstats
path: root/japanese/dvi2tty/Makefile
blob: e1f5a8386006cfc8bb1b0560880aa3d4b710c754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Masafumi NAKANE <max@FreeBSD.org>
# $FreeBSD$

PORTNAME=	dvi2tty
PORTVERSION=	5.0
PORTREVISION=	2
CATEGORIES=	japanese print
MASTER_SITES=	LOCAL/hrs
PKGNAMESUFFIX=	-ascii
DISTNAME=	dvi2tty${PORTVERSION}

PATCH_SITES=	${MASTER_SITES}
PATCH_DIST_STRIP=	-p1
PATCHFILES=	dvi2tty-ascii-jtex-patch dvi2tty.c-patch

MAINTAINER=	turutani@scphys.kyoto-u.ac.jp
COMMENT=	Character-based DVI file previewer

RUN_DEPENDS=	jless:${PORTSDIR}/japanese/less

PLIST_FILES=	bin/jdvi2tty \
		bin/jdisdvi \
		man/man1/jdvi2tty.1.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/jdvi2tty ${STAGEDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/disdvi ${STAGEDIR}${PREFIX}/bin/jdisdvi
	${INSTALL_MAN} ${WRKSRC}/dvi2tty.1 ${STAGEDIR}${PREFIX}/man/man1/jdvi2tty.1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud