summaryrefslogtreecommitdiff
path: root/www/opera-plugins
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-03-17 08:38:41 +0000
committerobache <obache@pkgsrc.org>2011-03-17 08:38:41 +0000
commitb56c4fded6db8f0d1b356de5b8462ebe63dc2ec9 (patch)
tree4a42fe805e3f898d1089d8966b1a234e07d3e50a /www/opera-plugins
parentb7f137e685845c9843fb8c557e488ab5348f1716 (diff)
downloadpkgsrc-b56c4fded6db8f0d1b356de5b8462ebe63dc2ec9.tar.gz
Add user-destdir installation support.
Diffstat (limited to 'www/opera-plugins')
-rw-r--r--www/opera-plugins/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/opera-plugins/Makefile b/www/opera-plugins/Makefile
index 031b0bbc411..e8df060f824 100644
--- a/www/opera-plugins/Makefile
+++ b/www/opera-plugins/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2009/04/09 00:48:18 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2011/03/17 08:38:41 obache Exp $
DISTNAME= opera-plugins-1.0
PKGREVISION= 1
@@ -13,6 +13,8 @@ COMMENT= Plugins for the Opera browser
DEPENDS+= opera>=5.999.1:../../www/opera
DEPENDS+= ns-flash>=5.0.47:../../multimedia/ns-flash
+PKG_DESTDIR_SUPPORT= user-destdir
+
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= motif
EMUL_REQD= suse>=7.3
@@ -36,7 +38,7 @@ do-install:
${TOUCH} ${PLIST_SRC}
for FILE in ${PLUGINS}; do \
${LN} -fs ${PLUGIN_DIR}/$$FILE \
- ${EMULDIR}/usr/lib/opera/plugins/$$FILE; \
+ ${DESTDIR}${EMULDIR}/usr/lib/opera/plugins/$$FILE; \
${ECHO} ${EMULSUBDIRSLASH}usr/lib/opera/plugins/$$FILE \
>>${PLIST_SRC}; \
done