From b56c4fded6db8f0d1b356de5b8462ebe63dc2ec9 Mon Sep 17 00:00:00 2001 From: obache Date: Thu, 17 Mar 2011 08:38:41 +0000 Subject: Add user-destdir installation support. --- www/opera-plugins/Makefile | 6 ++++-- 1 file 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 -- cgit v1.2.3