summaryrefslogtreecommitdiff
path: root/multimedia/adobe-flash-plugin/INSTALL.nspluginwrapper
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/adobe-flash-plugin/INSTALL.nspluginwrapper')
-rw-r--r--multimedia/adobe-flash-plugin/INSTALL.nspluginwrapper20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/adobe-flash-plugin/INSTALL.nspluginwrapper b/multimedia/adobe-flash-plugin/INSTALL.nspluginwrapper
new file mode 100644
index 00000000000..a56a16ccad1
--- /dev/null
+++ b/multimedia/adobe-flash-plugin/INSTALL.nspluginwrapper
@@ -0,0 +1,20 @@
+#!/bin/sh
+# $NetBSD: INSTALL.nspluginwrapper,v 1.1.1.1 2008/12/18 23:00:45 jmcneill Exp $
+
+PATH=@PREFIX@/bin:$PATH
+
+case $STAGE in
+ POST-INSTALL)
+ nspluginwrapper -i @PREFIX@/lib/netscape/plugins/libflashplayer.so
+ ;;
+esac
+
+
+case $STAGE in
+ DEINSTALL)
+ for wrapped in `nspluginwrapper -l | grep ^/` ; do
+ nspluginwrapper -r $wrapped
+ done
+ ;;
+esac
+