summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorobache <obache>2008-01-05 08:34:40 +0000
committerobache <obache>2008-01-05 08:34:40 +0000
commitfbc3897b4603b83a6508f383ce724cc7cf9addbf (patch)
tree45abd140b84583df337624f2e3906ffb3dfcfd4e /graphics
parente00ec9afc27df0c5d5b2a03f6071116d81664812 (diff)
downloadpkgsrc-fbc3897b4603b83a6508f383ce724cc7cf9addbf.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"