Additional files with gnome installed
Pav Lucistnik
pav at FreeBSD.org
Fri Dec 21 16:25:05 PST 2007
Beech Rintoul píše v pá 21. 12. 2007 v 14:14 -0900:
> On Friday 21 December 2007, Pav Lucistnik said:
> > Beech Rintoul píše v pá 21. 12. 2007 v 13:31 -0900:
> > > I have run into a problem with a couple of ports which detect
> > > that gnome desktop is installed and add additional files, ie:
> > > foo.desktop.
> > >
> > > Is there a way to check if the desktop is installed from the
> > > makefile? Everything I've tried has been unsuccessful. I'd like
> > > to be able to make this conditional so the plist isn't incomplete
> > > with gnome installed.
> >
> > See how vendor's configure script detects the presence of GNOME,
> > and do a check on the similar package, like
> >
> > .if exists(${LOCALBASE}/lib/libgnome.so)
> > PLIST_SUB+= GNOME=""
> >
> > etc...
>
> Thanks Pav, I wanted to do that to start with, [...]
I think you could use bsd.gnome.mk framework to detect installed GNOME
components, too. See arabic/katoob for example. That might be a better
way to do it.
--
Pav Lucistnik <pav at oook.cz>
<pav at FreeBSD.org>
East or west, ~ is best.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20071222/ba98ae85/attachment.pgp
More information about the freebsd-gnome
mailing list