aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/prn/Makefile
blob: f0b3edcecd2828b7ff4e30d90d963a381adf9bc6 (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
# Created by: Satoshi TAOKA <taoka@FreeBSD.org>
# $FreeBSD$

PORTNAME=   prn
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= japanese print
MASTER_SITES=   PORTS_JP
DISTNAME=   ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Yet another converter from text file to postscript (with Japanese support)

RUN_DEPENDS=    kcc:${PORTSDIR}/japanese/kcc

do-install:
.for i in cmt prn psconv
    (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin)
.endfor
    ${LN} -sf prn ${STAGEDIR}${PREFIX}/bin/cprn
    @${MKDIR} ${STAGEDIR}${DATADIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} cmtdefs ${STAGEDIR}${DATADIR})
.for i in cmt cprn prn psconv
    (cd ${WRKSRC} && ${INSTALL_MAN} ${i}.jman \
        ${STAGEDIR}${MANPREFIX}/man/man1/${i}.1)
.endfor
    (cd ${WRKSRC} && ${INSTALL_MAN} cmtdefs.jman \
        ${STAGEDIR}${MAN5PREFIX}/man/man5/cmtdefs.5)

.include <bsd.port.mk>