pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/SDL_mixer Added support for installation to DEST...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aad6ee139558
branches:  trunk
changeset: 528908:aad6ee139558
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat May 19 22:08:28 2007 +0000

description:
Added support for installation to DESTDIR.

diffstat:

 audio/SDL_mixer/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r c2d3039fb697 -r aad6ee139558 audio/SDL_mixer/Makefile
--- a/audio/SDL_mixer/Makefile  Sat May 19 22:02:59 2007 +0000
+++ b/audio/SDL_mixer/Makefile  Sat May 19 22:08:28 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2007/01/26 00:03:24 abs Exp $
+# $NetBSD: Makefile,v 1.34 2007/05/19 22:08:28 heinz Exp $
 
 DISTNAME=      SDL_mixer-1.2.7
 PKGREVISION=   1
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://www.libsdl.org/projects/SDL_mixer/
 COMMENT=       Multi-channel audio mixer library
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS=             SDL-mixer-[0-9]*
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
@@ -25,9 +27,9 @@
 
 post-install:
        ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
-               ${WRKSRC}/build/playmus ${PREFIX}/bin
+               ${WRKSRC}/build/playmus ${DESTDIR:Q}${PREFIX:Q}/bin
        ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
-               ${WRKSRC}/build/playwave ${PREFIX}/bin
+               ${WRKSRC}/build/playwave ${DESTDIR:Q}${PREFIX:Q}/bin
 
 BUILDLINK_API_DEPENDS.SDL+=    SDL>=1.2.10
 



Home | Main Index | Thread Index | Old Index