summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-05-19 22:23:56 +0000
committerheinz <heinz@pkgsrc.org>2007-05-19 22:23:56 +0000
commit025d077c3db0a1beb3b7045eee71d7eeea8fd8ca (patch)
tree9700f78582b74c34cc59c10812ec9beb69c724e0 /graphics
parent2b1cd6d4bcb89bd196ba3bd4b0a5feb4dbcac8c1 (diff)
downloadpkgsrc-025d077c3db0a1beb3b7045eee71d7eeea8fd8ca.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/SDL_image/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/SDL_image/Makefile b/graphics/SDL_image/Makefile
index 754491c2b05..e7390aa25a3 100644
--- a/graphics/SDL_image/Makefile
+++ b/graphics/SDL_image/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2006/12/15 14:34:20 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2007/05/19 22:23:56 heinz Exp $
DISTNAME= SDL_image-1.2.5
CATEGORIES= graphics devel
@@ -10,6 +10,7 @@ COMMENT= Load images as SDL surfaces
CONFLICTS= SDL-image-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= YES
@@ -20,7 +21,7 @@ INSTALLATION_DIRS= bin
post-install:
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/showimage \
- ${PREFIX}/bin
+ ${DESTDIR:Q}${PREFIX:Q}/bin
BUILDLINK_API_DEPENDS.SDL+= SDL>=1.2.10
.include "../../devel/SDL/buildlink3.mk"