summaryrefslogtreecommitdiff
path: root/www/firefox
diff options
context:
space:
mode:
authortaya <taya@pkgsrc.org>2004-12-03 16:45:54 +0000
committertaya <taya@pkgsrc.org>2004-12-03 16:45:54 +0000
commitd451a99622fc7859aa182b7ea96bef8edbc0daf3 (patch)
treed901cbc345724a1dd3942513a97cecf3c3a84dd8 /www/firefox
parent050789c53a88e76b6ea89e84051204a65b44e0d4 (diff)
downloadpkgsrc-d451a99622fc7859aa182b7ea96bef8edbc0daf3.tar.gz
generate extension directory & related stuff at install time.
fix PR pkg/28396 bump PKGREVISION
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/Makefile-firefox.common9
-rw-r--r--www/firefox/PLIST4
2 files changed, 9 insertions, 4 deletions
diff --git a/www/firefox/Makefile-firefox.common b/www/firefox/Makefile-firefox.common
index 6b89c0a3529..a14e0c938d3 100644
--- a/www/firefox/Makefile-firefox.common
+++ b/www/firefox/Makefile-firefox.common
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile-firefox.common,v 1.9 2004/11/13 07:03:08 taya Exp $
+# $NetBSD: Makefile-firefox.common,v 1.10 2004/12/03 16:45:54 taya Exp $
MOZILLA_BIN= firefox-bin
MOZ_VER= 1.0
-PKGREVISION= 1
+PKGREVISION= 2
EXTRACT_SUFX= .tar.bz2
DISTNAME= firefox-${MOZ_VER}-source
@@ -36,4 +36,9 @@ pre-install:
${MV} ${WRKSRC}/dist/bin/extensions/installed-extensions.txt \
${WRKSRC}/dist/bin/extensions/installed-extensions-processed.txt
+post-install:
+ cd ${PREFIX}/lib/${MOZILLA} && \
+ ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. HOME=${WRKSRC} \
+ ./${MOZILLA_BIN} -register
+
.include "../../www/mozilla/Makefile.common"
diff --git a/www/firefox/PLIST b/www/firefox/PLIST
index ce6c4881184..315b95ba2a5 100644
--- a/www/firefox/PLIST
+++ b/www/firefox/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2004/11/13 07:03:08 taya Exp $
+@comment $NetBSD: PLIST,v 1.11 2004/12/03 16:45:54 taya Exp $
bin/${MOZILLA}
@comment begin PROGRAMS
lib/${MOZILLA}/${MOZILLA_BIN}
@@ -2215,6 +2215,7 @@ include/${MOZILLA}/zlib/zlib.h
@comment end INCLUDE
@exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA} MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regxpcom
@exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA} MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regchrome
+@exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA} MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/firefox-bin -register
@unexec ${RM} %D/lib/${MOZILLA}/chrome/chrome.rdf
@unexec ${RM} %D/lib/${MOZILLA}/chrome/overlayinfo/browser/content/overlays.rdf
@unexec ${RM} %D/lib/${MOZILLA}/chrome/overlayinfo/communicator/content/overlays.rdf
@@ -2263,7 +2264,6 @@ include/${MOZILLA}/zlib/zlib.h
@dirrm lib/${MOZILLA}/components/myspell
@dirrm lib/${MOZILLA}/components
@dirrm lib/${MOZILLA}/chrome
-@dirrm lib/${MOZILLA}
@dirrm include/${MOZILLA}/zlib
@dirrm include/${MOZILLA}/xultmpl
@dirrm include/${MOZILLA}/xuldoc