summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-01-05 08:34:40 +0000
committerobache <obache@pkgsrc.org>2008-01-05 08:34:40 +0000
commit7e3e8bedf87420acee53a78221d6d6537d91cce9 (patch)
tree45abd140b84583df337624f2e3906ffb3dfcfd4e /graphics
parent15d9c7fbf116974f4b3c891f807b9c2280c20790 (diff)
downloadpkgsrc-7e3e8bedf87420acee53a78221d6d6537d91cce9.tar.gz
Add DESTDIR support.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/x11rec/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/graphics/x11rec/Makefile b/graphics/x11rec/Makefile
index 5496e423ffc..df8ae798f08 100644
--- a/graphics/x11rec/Makefile
+++ b/graphics/x11rec/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/04/05 12:12:06 obache Exp $
+# $NetBSD: Makefile,v 1.13 2008/01/05 08:34:40 obache Exp $
#
DISTNAME= x11rec-0.3
@@ -10,19 +10,21 @@ MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://0xcc.net/x11rec/
COMMENT= Very ad hoc X11 recorder which create a movie
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= gifsicle-[0-9]*:../../graphics/gifsicle
NO_BUILD= yes
REPLACE_RUBY= x11rec
-INSTALLATION_DIRS= share/doc/html/x11rec
+INSTALLATION_DIRS= bin share/doc/html/x11rec
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/x11rec ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/x11rec ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/x11rec-en.html \
- ${PREFIX}/share/doc/html/x11rec/index.html.en
+ ${DESTDIR}${PREFIX}/share/doc/html/x11rec/index.html.en
${INSTALL_DATA} ${WRKSRC}/x11rec-ja.html \
- ${PREFIX}/share/doc/html/x11rec/index.html.ja
+ ${DESTDIR}${PREFIX}/share/doc/html/x11rec/index.html.ja
.include "../../graphics/ImageMagick/buildlink3.mk"
.include "../../lang/ruby/modules.mk"