aboutsummaryrefslogtreecommitdiff
path: root/www/firefox35
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-11-08 16:49:30 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-11-08 16:49:30 +0000
commitf76fe0198137cb2ff47777434718c2efd96393a1 (patch)
treec6b1493d0c8fd36f3c992e9147835cd2143768ac /www/firefox35
parent433d9828398847181c64cf80ceb39269469d4e1a (diff)
downloadports-f76fe0198137cb2ff47777434718c2efd96393a1.tar.gz
ports-f76fe0198137cb2ff47777434718c2efd96393a1.zip
Notes
Diffstat (limited to 'www/firefox35')
-rw-r--r--www/firefox35/Makefile1
-rw-r--r--www/firefox35/pkg-install.in4
2 files changed, 5 insertions, 0 deletions
diff --git a/www/firefox35/Makefile b/www/firefox35/Makefile
index 9acef9c4c5c9..b4c21102b811 100644
--- a/www/firefox35/Makefile
+++ b/www/firefox35/Makefile
@@ -22,6 +22,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
Xft.2:${PORTSDIR}/x11-fonts/libXft
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
+RUN_DEPENDS= Xvfb:${X_VFBSERVER_PORT}
ALL_TARGET= default
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
diff --git a/www/firefox35/pkg-install.in b/www/firefox35/pkg-install.in
index 8d4bcf7e4073..4a1bd24b1ab1 100644
--- a/www/firefox35/pkg-install.in
+++ b/www/firefox35/pkg-install.in
@@ -29,4 +29,8 @@ cd ${MOZDIR} || exit 1
./run-mozilla.sh ${REGXPCOM} || true
./run-mozilla.sh ${FIREFOX} -register > /dev/null 2>&1
+# Instantiate the extension space as root.
+su - root -c "env PATH=${PATH} %%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-extension -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1
+su - root -c "env PATH=${PATH} %%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-theme -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1
+
exit 0