summaryrefslogtreecommitdiff
path: root/graphics/ewipe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ewipe/Makefile')
-rw-r--r--graphics/ewipe/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/graphics/ewipe/Makefile b/graphics/ewipe/Makefile
index de00f247b4c..adc835097e5 100644
--- a/graphics/ewipe/Makefile
+++ b/graphics/ewipe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/01/31 15:47:58 reed Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/04 15:39:09 jlam Exp $
#
DISTNAME= ewipe-1.2.0
@@ -9,6 +9,8 @@ MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.jnet-jp.to/~sekisita/ewipe/index-e.html
COMMENT= Presentation editor and viewer based on Tcl/Tk
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
NO_CONFIGURE= yes
USE_LANGUAGES= # none
@@ -24,15 +26,16 @@ 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 ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/ewipe ${DESTDIR}${PREFIX}/bin
.for i in definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/ewipe/
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/share/ewipe/
.endfor
.for i in README dot.ewipe Changes.jp README.jp
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/ewipe/
+ ${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} ${PREFIX}/share/examples/ewipe/
+ ${INSTALL_DATA} ${WRKSRC}/sample/${i} \
+ ${DESTDIR}${PREFIX}/share/examples/ewipe/
.endfor
.include "../../mk/bsd.pkg.mk"