summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2011-03-17 11:38:42 +0000
committerobache <obache>2011-03-17 11:38:42 +0000
commit1355edc2e164cc65589ce528b37257571b4e0a7a (patch)
treee2c4859a91013fbce67f64364844bfde32a411dd
parent742941af6a609c669534f2251f28309c57a5e338 (diff)
downloadpkgsrc-1355edc2e164cc65589ce528b37257571b4e0a7a.tar.gz
Add user-destdir installation support.
-rw-r--r--www/firefox-bin-realplayer/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/firefox-bin-realplayer/Makefile b/www/firefox-bin-realplayer/Makefile
index 233b8f6c73a..e8cec9e642a 100644
--- a/www/firefox-bin-realplayer/Makefile
+++ b/www/firefox-bin-realplayer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2009/09/02 08:34:16 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2011/03/17 11:38:42 obache Exp $
DISTNAME= firefox-bin-realplayer-1.0
PKGREVISION= 4
@@ -12,6 +12,8 @@ COMMENT= RealAudio and RealVideo player plugin for firefox-bin
DEPENDS+= firefox-bin>=0.8:../../www/firefox-bin
DEPENDS+= RealPlayerGold-[0-9]*:../../multimedia/RealPlayerGold
+PKG_DESTDIR_SUPPORT= user-destdir
+
EMUL_PLATFORMS= linux-i386
WRKSRC= ${WRKDIR}
@@ -21,7 +23,7 @@ NS_PLUGINS_DIR= ${PREFIX}/lib/firefox-linux/plugins
PLUGIN_SOURCE= ${PREFIX}/lib/RealPlayer/mozilla/nphelix.so
do-install:
- ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
- ${LN} -s ${PLUGIN_SOURCE} ${NS_PLUGINS_DIR}/nphelix.so
+ ${INSTALL_DATA_DIR} ${DESTDIR}${NS_PLUGINS_DIR}
+ ${LN} -s ${PLUGIN_SOURCE} ${DESTDIR}${NS_PLUGINS_DIR}/nphelix.so
.include "../../mk/bsd.pkg.mk"