aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/dvi2tty/Makefile
blob: 688b57186385f28506193745e335ec0760d528f7 (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
36
37
# Created by: Masafumi NAKANE <max@FreeBSD.org>
# $FreeBSD$

PORTNAME=   dvi2tty
PORTVERSION=    5.0
PORTREVISION=   1
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 \
        man/man1/dvi2tty.1.gz \
        man/man1/jdvi2tty.1.gz

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

.include <bsd.port.mk>