aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/tkhonyaku/Makefile
blob: faf4b25e5445ad8cf60a0d65176bb01aef91ac52 (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
# New ports collection makefile for:    tkhonyaku
# Date created:     10 July 2000
# Whom:         Daichi GOTO
#
# $FreeBSD$
#

PORTNAME=   tkhonyaku
PORTVERSION=    1.8
PORTREVISION=   1
CATEGORIES= japanese
MASTER_SITES=   http://www.yk.rim.or.jp/~kawagisi/

MAINTAINER= daichi@freebsd.org
COMMENT=    Yet another Honyaku-Damashii client with rich functionality

RUN_DEPENDS=    ${LOCALBASE}/bin/wish8.0jp:${PORTSDIR}/japanese/tk80

USE_PERL5_BUILD=yes
NO_BUILD=   yes

WRKSRC=     ${WRKDIR}/${PORTNAME}

post-patch:
    ${PERL} -i -pe 's,/usr/local/tkhonyaku,${PREFIX}/tkhonyaku,g' \
        ${WRKSRC}/tkhonyaku ${WRKSRC}/tkhonyaku-readme

do-install:
    ${MKDIR} ${PREFIX}/share/tkhonyaku
    ${INSTALL_DATA} ${WRKSRC}/tkhonyaku.gif ${PREFIX}/share/tkhonyaku/
    ${INSTALL_DATA} ${WRKSRC}/tkhonyaku.xpm ${PREFIX}/share/tkhonyaku/
    ${INSTALL_DATA} ${WRKSRC}/colors.gif ${PREFIX}/share/tkhonyaku/
    ${INSTALL_SCRIPT} ${WRKSRC}/tkhonyaku ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/tkhonyaku-readme ${DOCSDIR}
.endif

.include <bsd.port.mk>