ports/91834: [PATCH] Cleaner use of INSTALLS_OMF with no scrollkeeper installed

Dmitry Marakasov amdmi3 at mail.ru
Tue Jan 17 13:23:40 PST 2006


* Jean-Yves Lefort (jylefort at FreeBSD.org) wrote:

> Ports which install .omf files should depend on scrollkeeper, so that their
> documentation shows up in the GNOME help browser. If you found ports
> which install .omf files without depending on scrollkeeper, please alert
> the maintainers of these ports.
Got it. But why not make scrollkeeper USE_GNOME thing then?
I think it just belongs there (ports usually have scrollkeeper in both
BUILD_DEPENDS and RUN_DEPENDS, just USE_GNOME=scrollkeeper looks a lot
cleaner). Also, it would be easier to relieve users from useless
dependencies if they're not using GNOME. For example, ports that just
install .omf documentation and don't need any other GNOME parts, have to
at least USE_GNOME=gnomehier and depend on scrollkeeper. It would be
much better to use something like this:

.if ${HAVE_GNOME:Mscrollkeeper}!=""
USE_GNOME+=	scrollkeeper
INSTALLS_OMF=	yes
post-install:
	@{INSTALL_DATA} ${WRKDIR}/foo.omf ...
.endif

That'll be useable, for example, for my graphics/gnash port, which have
to depend on scrollkeeper only because gnash has omf documentation.

PS. Do please add me to CC in replies, as I'm not currently subscribed to
gnome at .

-- 
Best regards,
 Dmitry                          mailto:amdmi3 at mail.ru


More information about the freebsd-gnome mailing list