summaryrefslogtreecommitdiff
path: root/multimedia/adobe-flash-plugin10.1/INSTALL.nspluginwrapper
diff options
context:
space:
mode:
authorahoka <ahoka@pkgsrc.org>2011-02-08 18:47:03 +0000
committerahoka <ahoka@pkgsrc.org>2011-02-08 18:47:03 +0000
commit32c9b7bade3d5e3997455c2287a2715add244981 (patch)
treeae61310d4a45649129c3909760debf1b9400e319 /multimedia/adobe-flash-plugin10.1/INSTALL.nspluginwrapper
parent76403174e1e61076f05b4de8d54d96d3721b61c7 (diff)
downloadpkgsrc-32c9b7bade3d5e3997455c2287a2715add244981.tar.gz
Import a newer version of Flash plugin. The old one is retained,
because this version requires TLS support in Linux emulation, which NetBSD 5.x doesnt have.
Diffstat (limited to 'multimedia/adobe-flash-plugin10.1/INSTALL.nspluginwrapper')
-rw-r--r--multimedia/adobe-flash-plugin10.1/INSTALL.nspluginwrapper20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/adobe-flash-plugin10.1/INSTALL.nspluginwrapper b/multimedia/adobe-flash-plugin10.1/INSTALL.nspluginwrapper
new file mode 100644
index 00000000000..1fac0784686
--- /dev/null
+++ b/multimedia/adobe-flash-plugin10.1/INSTALL.nspluginwrapper
@@ -0,0 +1,20 @@
+#!/bin/sh
+# $NetBSD: INSTALL.nspluginwrapper,v 1.1.1.1 2011/02/08 18:47:03 ahoka 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
+