diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-11-08 16:49:30 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-11-08 16:49:30 +0000 |
commit | f76fe0198137cb2ff47777434718c2efd96393a1 (patch) | |
tree | c6b1493d0c8fd36f3c992e9147835cd2143768ac /www/firefox3-devel | |
parent | 433d9828398847181c64cf80ceb39269469d4e1a (diff) | |
download | ports-f76fe0198137cb2ff47777434718c2efd96393a1.tar.gz ports-f76fe0198137cb2ff47777434718c2efd96393a1.zip |
Notes
Diffstat (limited to 'www/firefox3-devel')
-rw-r--r-- | www/firefox3-devel/Makefile | 1 | ||||
-rw-r--r-- | www/firefox3-devel/pkg-install.in | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/www/firefox3-devel/Makefile b/www/firefox3-devel/Makefile index 9acef9c4c5c9..b4c21102b811 100644 --- a/www/firefox3-devel/Makefile +++ b/www/firefox3-devel/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/firefox3-devel/pkg-install.in b/www/firefox3-devel/pkg-install.in index 8d4bcf7e4073..4a1bd24b1ab1 100644 --- a/www/firefox3-devel/pkg-install.in +++ b/www/firefox3-devel/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 |