37 lines
996 B
Makefile
37 lines
996 B
Makefile
# Created by: 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
|
|
|
|
USES= perl5
|
|
USE_PERL5= build
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${REINPLACE_CMD} -i '' -e '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>
|