blob: 5a3da1fc4b50c177a54bada31a038a51fbbc143f (
plain)
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
|
# $NetBSD: Makefile,v 1.4 2017/08/01 16:47:39 wiz Exp $
#
DISTNAME= ewipe-1.2.0
CATEGORIES= graphics japanese
MASTER_SITES= http://www.jnet-jp.to/~sekisita/ewipe/
MAINTAINER= reed@reedmedia.net
#HOMEPAGE= http://www.jnet-jp.to/~sekisita/ewipe/index-e.html
COMMENT= Presentation editor and viewer based on Tcl/Tk
NO_BUILD= yes
NO_CONFIGURE= yes
USE_LANGUAGES= # none
USE_TOOLS+= wish:run
SUBST_CLASSES+= wish
SUBST_MESSAGE.wish= Fixing a hardcoded command and path.
SUBST_STAGE.wish= pre-install
SUBST_FILES.wish= ewipe
SUBST_SED.wish= -e 's,exec wish,exec ${WISH},'
SUBST_SED.wish+= -e 's,PATH \.,PATH ${PREFIX}/share/ewipe,'
INSTALLATION_DIRS= bin share/ewipe share/doc/ewipe share/examples/ewipe
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ewipe ${DESTDIR}${PREFIX}/bin
.for i in definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex
${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/share/ewipe/
.endfor
.for i in README dot.ewipe Changes.jp README.jp
${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/share/doc/ewipe/
.endfor
.for i in a1.gif a2.gif a3.gif a4.gif blue1.gif sample.ewp test.ewp tutorial-e.ewp tutorial.ewp
${INSTALL_DATA} ${WRKSRC}/sample/${i} \
${DESTDIR}${PREFIX}/share/examples/ewipe/
.endfor
.include "../../mk/bsd.pkg.mk"
|