blob: d641811f8584b7cab017a24b01d952255cca6319 (
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
|
# Created by: TANAKA Hiroyuki <kattyo@abk.nu>
# $FreeBSD$
PORTNAME= xtr
PORTVERSION= 1.50e.0.2
PORTREVISION= 1
CATEGORIES= japanese textproc
MASTER_SITES= ftp://ftp.abk.nu/pub/redist/xtr/
DISTNAME= ${PORTNAME}1.50e-0.2
MAINTAINER= ports@FreeBSD.org
COMMENT= Japanese text formatting processor
USES= tar:tgz
USE_CSTD= c89
USE_GCC= yes
GNU_CONFIGURE= yes
NO_CDROM= Need to obtain permission for commercial redistribution
OPTIONS_DEFINE= DOCS
post-extract:
@${ECHO_MSG} "===> Converting Kanji code for ${DISTNAME}"
@(cd ${WRKSRC} && ${SH} EUCsetup )
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xtr ${STAGEDIR}${PREFIX}/bin/xtr
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/sample/*.xtr ${STAGEDIR}${PREFIX}/share/${PORTNAME}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in README doc/xtr.doc
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|