aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xtr/Makefile
blob: d07af0f6fc1cafcd2135499f16bf6a53e73c8b61 (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
40
41
42
43
44
# New ports collection makefile for:   xtr
# Date created:         5 November 2002
# Whom:             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= kattyo-ports@abk.nu
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."

.include <bsd.port.pre.mk>

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.post.mk>