diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-06-16 06:58:10 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-06-16 06:58:10 +0000 |
commit | 7529b972a25fda0ca713dfe71b6df7a9c1efae3f (patch) | |
tree | 6180ff4a3bd1a033dfbe53a51b673a163e2ad650 /www/firefox | |
parent | 9be4ee01db005b803c3ddec63bf2afbf70e08788 (diff) | |
download | ports-7529b972a25fda0ca713dfe71b6df7a9c1efae3f.tar.gz ports-7529b972a25fda0ca713dfe71b6df7a9c1efae3f.zip |
Notes
Diffstat (limited to 'www/firefox')
-rw-r--r-- | www/firefox/Makefile | 4 | ||||
-rw-r--r-- | www/firefox/pkg-install.in | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile index a05f72056f59..fe0f3114bcdb 100644 --- a/www/firefox/Makefile +++ b/www/firefox/Makefile @@ -177,7 +177,9 @@ do-install: cd ${FAKEDIR} && ${FIND} * | ${CPIO} -dmp --quiet ${PREFIX} post-install: - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.if !defined(PACKAGE_BUILDING) + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif .for i in ${EXTRA_SCRIPTS} ${INSTALL_SCRIPT} ${FILESDIR}/${i} ${PREFIX}/bin .endfor diff --git a/www/firefox/pkg-install.in b/www/firefox/pkg-install.in index e4158aae3df9..958ace50d56f 100644 --- a/www/firefox/pkg-install.in +++ b/www/firefox/pkg-install.in @@ -21,9 +21,11 @@ rm -rf ${MOZDIR}/chrome/overlayinfo rm -f ${MOZDIR}/chrome/*.rdf mkdir -p ${MOZDIR}/chrome/overlayinfo rm -f ${MOZDIR}/component.reg +rm -rf ${MOZDIR}/extensions LD_LIBRARY_PATH=${MOZDIR} MOZILLA_FIVE_HOME=${MOZDIR} ${REGXPCOM} || true -LD_LIBRARY_PATH=${MOZDIR} MOZILLA_FIVE_HOME=${MOZDIR} ${REGXPCHROME} || true +LD_LIBRARY_PATH=${MOZDIR} MOZILLA_FIVE_HOME=${MOZDIR} ${REGCHROME} || true touch ${MOZDIR}/chrome/user-skins.rdf ${MOZDIR}/chrome/user-locales.rdf +cp -rp ${MOZDIR}/defaults/profile/extensions ${MOZDIR} exit 0 |