Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2005 05:43:57 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        Jan Grant <Jan.Grant@bristol.ac.uk>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: gnome-upgrade.sh
Message-ID:  <200511110543.58104.ringworm01@gmail.com>
In-Reply-To: <Pine.GSO.4.62.0511111342120.19268@mail.ilrt.bris.ac.uk>
References:  <43726E40.3090701@iaces.com> <200511110509.13451.ringworm01@gmail.com> <Pine.GSO.4.62.0511111342120.19268@mail.ilrt.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 11 November 2005 05:44, Jan Grant wrote:
> On Fri, 11 Nov 2005, Michael C. Shultz wrote:
> > On Friday 11 November 2005 01:43, Jan Grant wrote:
> > > My pkgtools.conf has hundreds(! - busy workstation) of entries along
> > > these lines - some entries apply to several ports, and the portupgrade
> > > toolset just basically uses the union of all matching rules:
> > >
> > > [[[
> > >   '*/*' => 'BATCH=yes',
> > >   '*/kde*' => 'WITH_KDE_DEBUG=yes',
> > >   'databases/p5-DBI' => 'WITH_PROXY=yes',
> > >   'deskutils/kdepim3' => 'WITH_KPILOT=yes',
> > >   'devel/gnomevfs2' => 'WITH_X11=yes',
> > >   'devel/sdl12' => 'WITH_X11=yes',
> > >   'devel/subversion' => 'WITH_PYTHON=yes WITH_MOD_DAV_SVN=yes
> > > WITHOUT_BDB=yes',
> > > ]]]
> > >
> > > ... and so on; so deskutils/kdepim3 gets built with
> > > 	BATCH=yes WITH_KPILOT=yes WITH_KDE_DEBUG=yes
> > > but more importantly, any future kde packages also get
> > > WITH_KDE_DEBUG=yes automatically.
> > >
> > > It'd be convenient if portmanager supported the same wildcard
> > > ability (it'd make the script to migrate settings from pkgtools.conf to
> > > portmanager much more straightforward).
> >
> > Port build options are covered in man portmanager(1). You didn't provide
> > an example where wild cards are used so I'm not sure what you mean there.
>
> The asterisks in the snippet above are wildcards. When portupgrade looks
> for the options to a port, it pattern-matches against all the entries.
> The deskutils/kdepim3 is a simple example above.

Silly me, I get it now. Not supported yet but I like the idea so am adding it 
to the things to do list.  This one will be near the top.
>
> > Stopping/starting is a new feature just introduced in 0.3.3_3.
>
> Cheers, that's very handy.

-Mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511110543.58104.ringworm01>