1997-10-17 13:02:52 +00:00
|
|
|
# New ports collection makefile for: ewipe
|
|
|
|
# Date created: 17 October 1997
|
|
|
|
# Whom: itojun@itojun.org
|
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1997-10-17 13:02:52 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 09:01:47 +00:00
|
|
|
PORTNAME= ewipe
|
2000-10-17 20:12:13 +00:00
|
|
|
PORTVERSION= 1.2.0
|
|
|
|
CATEGORIES+= misc tk82
|
|
|
|
MASTER_SITES= http://www.jnet-jp.to/~sekisita/ewipe/
|
1997-10-17 13:02:52 +00:00
|
|
|
|
2000-10-17 20:12:13 +00:00
|
|
|
MAINTAINER?= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT?= Tcl/tk-based presentation tool
|
1997-10-17 13:02:52 +00:00
|
|
|
|
2000-10-17 20:12:13 +00:00
|
|
|
.if defined(KANJI)
|
|
|
|
RUN_DEPENDS= wish8.0jp:${PORTSDIR}/japanese/tk80
|
|
|
|
.else
|
|
|
|
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
|
|
|
|
.endif
|
1997-10-17 13:02:52 +00:00
|
|
|
|
1999-05-06 07:49:00 +00:00
|
|
|
NO_BUILD= YES
|
2002-06-22 17:23:30 +00:00
|
|
|
USE_REINPLACE= yes
|
1998-04-12 02:21:18 +00:00
|
|
|
TCLLIBS= definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex
|
2003-11-07 09:28:14 +00:00
|
|
|
MYPORTDOCS= Changes.jp README README.jp dot.ewipe
|
2000-10-17 20:12:13 +00:00
|
|
|
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-12 02:21:18 +00:00
|
|
|
|
2000-10-17 20:12:13 +00:00
|
|
|
post-patch:
|
2002-06-22 17:23:30 +00:00
|
|
|
@${REINPLACE_CMD} \
|
2000-10-17 20:12:13 +00:00
|
|
|
-e "s|%%PREFIX%%|${PREFIX}|g;" \
|
|
|
|
-e "s|%%WISH%%|${WISH}|g;" ${WRKSRC}/ewipe
|
1998-04-12 02:21:18 +00:00
|
|
|
|
1997-10-17 13:02:52 +00:00
|
|
|
do-install:
|
2000-10-17 20:12:13 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/ewipe
|
1997-10-17 13:02:52 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ewipe ${PREFIX}/bin
|
2000-10-17 20:12:13 +00:00
|
|
|
.for file in ${TCLLIBS}
|
2004-02-11 16:45:54 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
|
2000-10-17 20:12:13 +00:00
|
|
|
.endfor
|
1997-10-17 13:02:52 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-02-11 16:45:54 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-11-07 09:28:14 +00:00
|
|
|
.for file in ${MYPORTDOCS}
|
2004-02-11 16:45:54 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
2000-10-17 20:12:13 +00:00
|
|
|
.endfor
|
2004-02-11 16:45:54 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2000-10-17 20:12:13 +00:00
|
|
|
.for file in ${EXAMPLES}
|
2004-02-11 16:45:54 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/${file} ${EXAMPLESDIR}
|
2000-10-17 20:12:13 +00:00
|
|
|
.endfor
|
1997-10-17 13:02:52 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|