mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Minor Mafefile fixes.
PR: 86374 Submitted by: chinsan <chinsan.tw@gmail.com>
This commit is contained in:
parent
98bde96201
commit
3a77e1cdb3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143218
@ -33,7 +33,7 @@ PLIST_SUB= FIREFOX=${FIREFOX}
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
echo "===> Backup setting files..."
|
||||
@${ECHO_MSG} "===> Backup setting files..."
|
||||
(cd ${FIREFOX_HOME}; \
|
||||
${MV} -f browserconfig.properties browserconfig.properties.orig)
|
||||
(cd ${FIREFOX_HOME}/defaults/pref; \
|
||||
@ -45,18 +45,18 @@ do-install:
|
||||
${MV} -f chrome.rdf chrome.rdf.orig; \
|
||||
${MV} -f installed-chrome.txt installed-chrome.txt.orig)
|
||||
|
||||
echo "===> Copying locale files..."
|
||||
@${ECHO_MSG} "===> Copying locale files..."
|
||||
(cd ${WRKSRC}; ${TAR} -cf - *) | \
|
||||
${TAR} -xf - -C ${FIREFOX_HOME}
|
||||
|
||||
echo "===> Cleaning Chrome's registry..."
|
||||
@${ECHO_MSG} "===> Cleaning Chrome's registry..."
|
||||
${RM} -rf ${FIREFOX_HOME}/chrome/overlayinfo
|
||||
${RM} -f ${FIREFOX_HOME}/chrome/*.rdf
|
||||
${MKDIR} ${FIREFOX_HOME}/chrome/overlayinfo
|
||||
${RM} -f ${FIREFOX_HOME}/component.reg
|
||||
${RM} -rf ${FIREFOX_HOME}/extensions
|
||||
|
||||
echo "===> Building Chrome's registry..."
|
||||
@${ECHO_MSG} "===> Building Chrome's registry..."
|
||||
(cd ${FIREFOX_HOME} || exit 1 ; \
|
||||
./run-mozilla.sh ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. \
|
||||
${REGXPCOM} || true ; \
|
||||
|
Loading…
Reference in New Issue
Block a user