summaryrefslogtreecommitdiff
path: root/japanese/dvi2tty/Makefile
blob: e8897fdf6e285272e39dfc6cb562ebde65f7d88b (plain) (blame)
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
31
32
33
34
35
# Created by: Masafumi NAKANE <max@FreeBSD.org>
# $FreeBSD$

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

PATCH_SITES=	${MASTER_SITES}
PATCH_SITE_SUBDIR=	${MASTER_SITE_SUBDIR}
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

CONFLICTS=	dvi2tty-[0-9]*

PLIST_FILES=	bin/jdvi2tty bin/dvi2tty bin/disdvi

MAN1=		dvi2tty.1
MLINKS=		dvi2tty.1 jdvi2tty.1

NO_STAGE=	yes
do-install:
	cd ${WRKSRC} && ${INSTALL_PROGRAM} jdvi2tty disdvi ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/dvi2tty.1 ${PREFIX}/man/man1
	${LN} -sf ${PREFIX}/bin/jdvi2tty ${PREFIX}/bin/dvi2tty

.include <bsd.port.mk>