diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-02 05:09:04 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-02 05:09:04 +0800 |
commit | 78aeb2b3ec4ad00767042a188e53ac749eef6f51 (patch) | |
tree | 04765c16b03b21dcc21ec55f42ab58772f4571f0 /www/mozilla | |
parent | 7f31b26efe9df7ff1a26ad605e20024aa371e6cf (diff) | |
download | marcuscom-ports-78aeb2b3ec4ad00767042a188e53ac749eef6f51.tar.gz marcuscom-ports-78aeb2b3ec4ad00767042a188e53ac749eef6f51.tar.zst marcuscom-ports-78aeb2b3ec4ad00767042a188e53ac749eef6f51.zip |
- Add support for the new XPI framework, this allows plugins installed
before gecko is installed to be seen by gecko.
Submitted by: sat
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6923 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/mozilla')
-rw-r--r-- | www/mozilla/pkg-deinstall.in | 4 | ||||
-rw-r--r-- | www/mozilla/pkg-install.in | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/www/mozilla/pkg-deinstall.in b/www/mozilla/pkg-deinstall.in index 1d381a06f..4496b27e9 100644 --- a/www/mozilla/pkg-deinstall.in +++ b/www/mozilla/pkg-deinstall.in @@ -1,7 +1,7 @@ #!/bin/sh # # $FreeBSD$ -# $MCom: ports/www/mozilla/pkg-deinstall.in,v 1.12 2006/03/09 00:45:43 ahze Exp $ +# $MCom: ports/www/mozilla/pkg-deinstall.in,v 1.14 2006/07/18 15:03:40 ahze Exp $ # # Date created: Mon Nov 29, 2003 # Whom: Thierry Thomas (<thierry@pompo.net>) @@ -23,5 +23,7 @@ rm -f ${MOZDIR}/components.ini rm -f ${MOZDIR}/defaults.ini rm -f ${MOZDIR}/chrome/app-chrome.manifest rm -rf ${MOZDIR}/updates +find %%MOZDIR%%/plugins/ -depth 1 -type l -delete > /dev/null 2>&1 +find %%MOZDIR%%/extensions/ -depth 1 -type l -delete > /dev/null 2>&1 exit 0 diff --git a/www/mozilla/pkg-install.in b/www/mozilla/pkg-install.in index 13fe40dbe..bd6131c6d 100644 --- a/www/mozilla/pkg-install.in +++ b/www/mozilla/pkg-install.in @@ -1,7 +1,7 @@ #!/bin/sh # # $FreeBSD$ -# $MCom: ports/www/mozilla/pkg-install.in,v 1.12 2006/03/09 00:45:43 ahze Exp $ +# $MCom: ports/www/mozilla/pkg-install.in,v 1.14 2006/07/18 15:03:40 ahze Exp $ # # Date created: Mon Nov 29, 2003 # Whom: Thierry Thomas (<thierry@pompo.net>) @@ -37,5 +37,7 @@ fi if [ ! -d %%PREFIX%%/lib/browser_plugins ]; then mkdir -p %%PREFIX%%/lib/browser_plugins fi +cp -R %%LOCALBASE%%/lib/npapi/symlinks/%%MOZILLA%%/ %%MOZDIR%%/plugins/ > /dev/null 2>&1 +cp -R %%LOCALBASE%%/lib/xpi/symlinks/%%MOZILLA%%/ %%MOZDIR%%/extensions/ > /dev/null 2>&1 exit 0 |