pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/realplayer-codecs The package supports inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d6e4daf5bf5
branches:  trunk
changeset: 536475:9d6e4daf5bf5
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat Dec 15 15:18:57 2007 +0000

description:
The package supports installation to DESTDIR.

diffstat:

 multimedia/realplayer-codecs/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r c3f7d4edd874 -r 9d6e4daf5bf5 multimedia/realplayer-codecs/Makefile
--- a/multimedia/realplayer-codecs/Makefile     Sat Dec 15 15:14:26 2007 +0000
+++ b/multimedia/realplayer-codecs/Makefile     Sat Dec 15 15:18:57 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/03/08 19:25:14 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2007/12/15 15:18:57 heinz Exp $
 #
 
 DISTNAME=      rp8codecs${RP_ARCH}-20050115
@@ -18,6 +18,8 @@
 HOMEPAGE=      http://www.mplayerhq.hu/MPlayer/releases/codecs/
 COMMENT=       RealPlayer 8 shared libraries, primarily for use with MPlayer
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 ONLY_FOR_PLATFORM=     *-*-i386 *-*-powerpc *-*-alpha
 
 .include "../../mk/bsd.prefs.mk"
@@ -42,7 +44,8 @@
 NO_SRC_ON_FTP= ${RESTRICTED}
 
 do-install:
-       ${INSTALL_LIB_DIR} ${PREFIX}/lib/RealPlayer8-Codecs
-       ${INSTALL_LIB} ${WRKSRC}/*.so.*.* ${PREFIX}/lib/RealPlayer8-Codecs
+       ${INSTALL_LIB_DIR} ${DESTDIR:Q}${PREFIX}/lib/RealPlayer8-Codecs
+       ${INSTALL_LIB} ${WRKSRC}/*.so.*.* \
+               ${DESTDIR:Q}${PREFIX}/lib/RealPlayer8-Codecs
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index