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
commitf137799916c531768a33ada8c8346f13ac067197 (patch)
tree45abd140b84583df337624f2e3906ffb3dfcfd4e /graphics
parent346b13849ab451e7693304e64f03aedf2fce661c (diff)
downloadpkgsrc-f137799916c531768a33ada8c8346f13ac067197.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"