openbsd-ports/graphics/fyre/Makefile
ajacoutot 973a6fb381 - tweak the way the gtk-update-icon-cache goo is run
gtk-update-icon-cache is part of gtk+2: adding gtk+2 to run_depends just
to update the icon cache (which only gtk apps can use) is overkill to
say the least!
As from now, each time icons are installed under %D/share/icons, we try
to execute gtk-update-icon-cache and if it is not there, we just ignore
the error.
What it means is that if you have gtk+2 installed, then it'll run fine
and your apps will be able to use the cache. Otherwise, it will silently
fails which is fine since it means none of your apps would have been
able to take advantage of the cache anyway.

discussed with jasper@
2008-04-17 08:10:09 +00:00

46 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2008/04/17 08:10:10 ajacoutot Exp $
COMMENT= tool for producing computational artwork
DISTNAME= fyre-1.0.1
PKGNAME= ${DISTNAME}p2
CATEGORIES= graphics
HOMEPAGE= http://fyre.navi.cx/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= Half Iex IlmThread Imath X11 Xau Xcomposite Xcursor \
Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender \
atk-1.0 c cairo expat fontconfig freetype gdk-x11-2.0 \
gdk_pixbuf-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 \
gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 png pthread stdc++ xml2 z
MASTER_SITES= http://releases.navi.cx/fyre/ \
http://humppa.nl/distfiles/
MODULES= devel/gettext
BUILD_DEPENDS= ::misc/shared-mime-info
LIB_DEPENDS= glade-2.0::devel/libglade2 \
IlmImf.>=4::graphics/openexr \
gnet-2.0::net/gnet
RUN_DEPENDS= ::x11/hicolor-icon-theme
USE_GMAKE= Yes
USE_X11= yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-openexr \
--enable-gnet
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
@ln -s /usr/bin/true ${WRKDIR}/bin/update-mime-database
.include <bsd.port.mk>