summaryrefslogtreecommitdiff
path: root/www/firefox/Makefile-firefox.common
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/Makefile-firefox.common
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/Makefile-firefox.common')
-rw-r--r--www/firefox/Makefile-firefox.common9
1 files changed, 7 insertions, 2 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"