Re: Mozilla + Addons
From: Lowell Gilbert (lgusenet_at_be-well.ilk.org)
Date: 13 Apr 2005 08:43:57 -0400
Thomas Schweikle <firstname.lastname@example.org> writes:
> Jed Clear schrieb:
> > Thomas Schweikle wrote:
> >> I am using mozilla, the suite. Now I'd like to install some
> >> extensions automatically:
> >> - adblock
> >> - calendar
> > [snip]
> > If those translate to compile flags for the port, you probably want to
> > add them to pkgtools.conf(5).
> I've checked: no, they do not translate to compile time flags. You
> will have to copy the *.xpi to "extensions" and configure them in an
> extra file. While building, these will be integrated into mozilla
> But: cleaning befor compiling removes what I have done. Thus
> "portinstall mozilla" does only install a pure mozilla, without the
> extensions. I'd like to have a way to specify what extensions I want
> to install, have them put into /usr/ports/distfiles, tell what I
> want setting a variable in "/etc/make.conf" and then just give
> "portinstall mozilla" or "cd /usr/ports/www/mozilla; make install".
> ports does the thing necessary to integrate these extensions.
> Am I dreaming at the moment? Would this at all be possible?
Possible, sure. You would need to script those changes, and invoke
the script at the appropriate point (I would guess that it would be
either before or after running configure).