diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
commit | 4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/ewipe | |
parent | a6923789124411b85aaa9c9d97b6522350124999 (diff) | |
download | pkgsrc-4b86e2bfab114a3edb0ceea2883a66b1745f9f06.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/ewipe')
-rw-r--r-- | graphics/ewipe/Makefile | 13 |
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" |