openbsd-ports/devel/giggle/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

43 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2008/04/17 08:10:10 ajacoutot Exp $
COMMENT= gtk-based git repository viewer
CATEGORIES= devel x11
DISTNAME= giggle-0.4
PKGNAME= ${DISTNAME}p0
SHARED_LIBS+= giggle 0.0 # .0.0
HOMEPAGE= http://developer.imendio.com/projects/giggle
MAINTAINER= Landry Breuil <gaston@gcu.info>
MASTER_SITES= http://ftp.imendio.com/pub/imendio/giggle/src/
# GPLv2
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MODULES= devel/gettext \
textproc/intltool
USE_GMAKE= Yes
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= GMSGFMT="${LOCALBASE}/bin/msgfmt"
RUN_DEPENDS= ::devel/git \
::devel/desktop-file-utils
BUILD_DEPENDS+= ::devel/git
LIB_DEPENDS= glade-2.0.>=0::devel/libglade2 \
gtksourceview-2.0.>=0::x11/gtksourceview
WANTLIB= 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 gtk-x11-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre png xml2 z
.include <bsd.port.mk>