summaryrefslogtreecommitdiff
path: root/converters/ja-dvi2tty/Makefile
blob: 9db6b8fb132936de9196c5824975b8b1fc1c9ac0 (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
31
32
# $NetBSD: Makefile,v 1.4 2003/07/17 21:27:16 grant Exp $

DISTNAME=	dvi2tty5.0
PKGNAME=	ja-dvi2tty-5.0
CATEGORIES=	japanese converters
MASTER_SITES=	${MASTER_SITE_LOCAL}
#MASTER_SITES=	ftp://ftp.web.ad.jp/pub/TeX/akiu/dviwares/dvi2tty/

PATCH_SITES=	${MASTER_SITE_LOCAL}
#PATCH_SITES=	ftp://ftp.web.ad.jp/pub/TeX/akiu/dviwares/dvi2tty/
PATCHFILES=	dvi2tty-ascii-jtex-patch \
		dvi2tty.c-patch
PATCH_DIST_STRIP=	-p1

MAINTAINER=	tech-pkg@NetBSD.org
COMMENT=	Program for previewing DVI files (ASCII Japanese TeX)

DEPENDS=	ja-less>=358:../../misc/ja-less

DIST_SUBDIR=	ja-dvi2tty

LICENSE=	no-commercial-use

USE_BUILDLINK2=	# defined
MAKE_FLAGS+=	CFLAGS="${CFLAGS} -DDEFPAGER='\"${PREFIX}/bin/jless\"'"

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

.include "../../mk/bsd.pkg.mk"