summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheinz <heinz>2007-12-15 15:18:57 +0000
committerheinz <heinz>2007-12-15 15:18:57 +0000
commit6cf91ad883a93bc8baccb84337f8b93f14e7a59a (patch)
treea3e644d079b27aec1707c3987fdada9814a6a5b4
parent4a26fc01abf70fa14483669d24049ea26eb56840 (diff)
downloadpkgsrc-6cf91ad883a93bc8baccb84337f8b93f14e7a59a.tar.gz
The package supports installation to DESTDIR.
-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"