summaryrefslogtreecommitdiff
path: root/multimedia/realplayer-codecs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/realplayer-codecs/Makefile')
-rw-r--r--multimedia/realplayer-codecs/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/realplayer-codecs/Makefile b/multimedia/realplayer-codecs/Makefile
index a5ab59285bd..3f65b438573 100644
--- a/multimedia/realplayer-codecs/Makefile
+++ b/multimedia/realplayer-codecs/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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_CDROM=${RESTRICTED}
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"