f0a1969d34
is better studied o Turn PORTCOMMENT variable in Makefile back into pkg-comment files Approved by: kris (portmgr hat), portmgr, re (silence)
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# New ports collection makefile for: ewipe
|
|
# Date created: 17 October 1997
|
|
# Whom: itojun@itojun.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ewipe
|
|
PORTVERSION= 1.2.0
|
|
CATEGORIES+= misc tk82
|
|
MASTER_SITES= http://www.jnet-jp.to/~sekisita/ewipe/
|
|
|
|
MAINTAINER?= ports@FreeBSD.org
|
|
|
|
.if defined(KANJI)
|
|
RUN_DEPENDS= wish8.0jp:${PORTSDIR}/japanese/tk80
|
|
.else
|
|
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
|
|
.endif
|
|
|
|
NO_BUILD= YES
|
|
USE_REINPLACE= yes
|
|
TCLLIBS= definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex
|
|
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
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e "s|%%PREFIX%%|${PREFIX}|g;" \
|
|
-e "s|%%WISH%%|${WISH}|g;" ${WRKSRC}/ewipe
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/share/ewipe
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ewipe ${PREFIX}/bin
|
|
.for file in ${TCLLIBS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/ewipe
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
@${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
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|