diff options
author | taya <taya@pkgsrc.org> | 2004-12-03 16:45:54 +0000 |
---|---|---|
committer | taya <taya@pkgsrc.org> | 2004-12-03 16:45:54 +0000 |
commit | d451a99622fc7859aa182b7ea96bef8edbc0daf3 (patch) | |
tree | d901cbc345724a1dd3942513a97cecf3c3a84dd8 /www | |
parent | 050789c53a88e76b6ea89e84051204a65b44e0d4 (diff) | |
download | pkgsrc-d451a99622fc7859aa182b7ea96bef8edbc0daf3.tar.gz |
generate extension directory & related stuff at install time.
fix PR pkg/28396
bump PKGREVISION
Diffstat (limited to 'www')
-rw-r--r-- | www/firefox-gtk2/PLIST | 4 | ||||
-rw-r--r-- | www/firefox/Makefile-firefox.common | 9 | ||||
-rw-r--r-- | www/firefox/PLIST | 4 |
3 files changed, 11 insertions, 6 deletions
diff --git a/www/firefox-gtk2/PLIST b/www/firefox-gtk2/PLIST index f7804a4e8ac..5f582969d8c 100644 --- a/www/firefox-gtk2/PLIST +++ b/www/firefox-gtk2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.10 2004/11/13 08:57:54 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} @@ -2230,6 +2230,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 @@ -2280,7 +2281,6 @@ include/${MOZILLA}/zlib/zlib.h @dirrm lib/${MOZILLA}/chrome/icons/default @dirrm lib/${MOZILLA}/chrome/icons @dirrm lib/${MOZILLA}/chrome -@dirrm lib/${MOZILLA} @dirrm include/${MOZILLA}/zlib @dirrm include/${MOZILLA}/xultmpl @dirrm include/${MOZILLA}/xuldoc 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 |