1997-10-17 09:02:52 -04:00
|
|
|
# New ports collection makefile for: ewipe
|
|
|
|
# Date created: 17 October 1997
|
|
|
|
# Whom: itojun@itojun.org
|
|
|
|
#
|
1999-08-25 03:23:21 -04:00
|
|
|
# $FreeBSD$
|
1997-10-17 09:02:52 -04:00
|
|
|
#
|
|
|
|
|
2000-04-13 05:01:47 -04:00
|
|
|
PORTNAME= ewipe
|
2000-10-17 16:12:13 -04:00
|
|
|
PORTVERSION= 1.2.0
|
|
|
|
CATEGORIES+= misc tk82
|
|
|
|
MASTER_SITES= http://www.jnet-jp.to/~sekisita/ewipe/
|
1997-10-17 09:02:52 -04:00
|
|
|
|
2000-10-17 16:12:13 -04:00
|
|
|
MAINTAINER?= ports@FreeBSD.org
|
1997-10-17 09:02:52 -04:00
|
|
|
|
2000-10-17 16:12:13 -04:00
|
|
|
.if defined(KANJI)
|
|
|
|
RUN_DEPENDS= wish8.0jp:${PORTSDIR}/japanese/tk80
|
|
|
|
.else
|
|
|
|
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
|
|
|
|
.endif
|
1997-10-17 09:02:52 -04:00
|
|
|
|
1999-05-06 03:49:00 -04:00
|
|
|
NO_BUILD= YES
|
1998-04-11 22:21:18 -04:00
|
|
|
TCLLIBS= definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex
|
2000-10-17 16:12:13 -04:00
|
|
|
PORTDOCS= Changes.jp README README.jp dot.ewipe
|
|
|
|
EXAMPLES= a1.gif a2.gif a3.gif a4.gif blue1.gif sample.ewp test.ewp \
|
|
|
|
tutorial.ewp tutorial-e.ewp
|
|
|
|
|
|
|
|
.if defined(KANJI)
|
|
|
|
WISH= ${LOCALBASE}/bin/wish8.0jp
|
|
|
|
.else
|
|
|
|
WISH= ${LOCALBASE}/bin/wish8.2
|
|
|
|
.endif
|
1998-04-11 22:21:18 -04:00
|
|
|
|
2000-10-17 16:12:13 -04:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi \
|
|
|
|
-e "s|%%PREFIX%%|${PREFIX}|g;" \
|
|
|
|
-e "s|%%WISH%%|${WISH}|g;" ${WRKSRC}/ewipe
|
1998-04-11 22:21:18 -04:00
|
|
|
|
1997-10-17 09:02:52 -04:00
|
|
|
do-install:
|
2000-10-17 16:12:13 -04:00
|
|
|
@${MKDIR} ${PREFIX}/share/ewipe
|
1997-10-17 09:02:52 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ewipe ${PREFIX}/bin
|
2000-10-17 16:12:13 -04:00
|
|
|
.for file in ${TCLLIBS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/ewipe
|
|
|
|
.endfor
|
1997-10-17 09:02:52 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-10-17 16:12:13 -04:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/ewipe
|
|
|
|
.for file in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ewipe
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${PREFIX}/share/examples/ewipe
|
|
|
|
.for file in ${EXAMPLES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/${file} ${PREFIX}/share/examples/ewipe
|
|
|
|
.endfor
|
1997-10-17 09:02:52 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|