aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xtr/Makefile
blob: ed64c354d87dd3f20a37d21aea823f73dda53ecc (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
38
39
# Created by: TANAKA Hiroyuki <kattyo@abk.nu>
# $FreeBSD$

PORTNAME=   xtr
PORTVERSION=    1.50e.0.2
CATEGORIES= japanese textproc
MASTER_SITES=   ftp://ftp.abk.nu/pub/redist/xtr/
DISTNAME=   ${PORTNAME}1.50e-0.2
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    A powerful Japanese text formatting processor

MAN1=       xtr.1
MANCOMPRESSED=  no

HAS_CONFIGURE=  yes
GNU_CONFIGURE=  yes

NO_CDROM=   Need to obtain permission for commercial redistribution.

NO_STAGE=   yes
post-extract:
    @${ECHO_MSG} "===>  Converting Kanji code for ${DISTNAME}"
    @(cd ${WRKSRC} && $(SH) EUCsetup )

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/xtr ${PREFIX}/bin/xtr
    ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in README doc/xtr.doc
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
    @${MKDIR} ${PREFIX}/share/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/sample/*.xtr ${PREFIX}/share/${PORTNAME}

.include <bsd.port.mk>