summaryrefslogtreecommitdiff
path: root/www/mozilla/scripts/moz-install
diff options
context:
space:
mode:
Diffstat (limited to 'www/mozilla/scripts/moz-install')
-rwxr-xr-xwww/mozilla/scripts/moz-install13
1 files changed, 7 insertions, 6 deletions
diff --git a/www/mozilla/scripts/moz-install b/www/mozilla/scripts/moz-install
index 2bf0be59a28..673f31ad6e3 100755
--- a/www/mozilla/scripts/moz-install
+++ b/www/mozilla/scripts/moz-install
@@ -6,7 +6,7 @@ ${CHGRP} ${BINGRP} ${PREFIX}/bin/mozilla
${CHMOD} ${BINMODE} ${PREFIX}/bin/mozilla
# make directories
-for i in `${EGREP} ^@dirrm ${PLIST_SRC} | ${SED} -e 's/^@dirrm//'` ; do
+for i in `${SED} -n -e '/^@comment begin DIRS$/,/^@comment end DIRS$/p' ${PLIST_SRC} | ${EGREP} -v ^@comment | ${SED} -e 's/^@dirrm//'` ; do
${BSD_INSTALL_DATA_DIR} ${PREFIX}/$i
done
@@ -34,8 +34,9 @@ for i in `${SED} -n -e '/^@comment begin DATA$/,/^@comment end DATA$/p' ${PLIST_
${BSD_INSTALL_DATA} ${WRKSRC}/${src} ${PREFIX}/$i
done
-# install missing data.
-# those files are generated automatically at first startup
-# without root privilege, those could not be generated and mozilla could not be started
-${BSD_INSTALL_DATA} ${FILESDIR}/user-locales.rdf ${PREFIX}/lib/mozilla/chrome
-${BSD_INSTALL_DATA} ${FILESDIR}/user-skins.rdf ${PREFIX}/lib/mozilla/chrome
+#
+#
+#
+cd ${PREFIX}/lib/mozilla
+${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom
+${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome