pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/SDL_image Added support for installation to D...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df1c6ff4456a
branches:  trunk
changeset: 528910:df1c6ff4456a
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat May 19 22:23:56 2007 +0000

description:
Added support for installation to DESTDIR.

diffstat:

 graphics/SDL_image/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r abf0a140956b -r df1c6ff4456a graphics/SDL_image/Makefile
--- a/graphics/SDL_image/Makefile       Sat May 19 22:12:53 2007 +0000
+++ b/graphics/SDL_image/Makefile       Sat May 19 22:23:56 2007 +0000
@@ -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 @@
 
 CONFLICTS=             SDL-image-[0-9]*
 
+PKG_DESTDIR_SUPPORT=   user-destdir
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 USE_LIBTOOL=           YES
@@ -20,7 +21,7 @@
 
 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"



Home | Main Index | Thread Index | Old Index