Tweak graphics/colord-gtk version 0.1.25
[dports.git] / graphics / colord-gtk / Makefile
1 # Created by: Koop Mast <kwm@FreeBSD.org>
2 # $FreeBSD$
3 #    $MCom: ports/trunk/graphics/colord-gtk/Makefile 18610 2013-06-30 16:33:05Z marcus $
4
5 PORTNAME=       colord-gtk
6 PORTVERSION=    0.1.25
7 CATEGORIES=     graphics
8 MASTER_SITES=   http://www.freedesktop.org/software/colord/releases/
9
10 MAINTAINER=     kwm@FreeBSD.org
11 COMMENT=        Manage color profiles to accurately color input/output devices
12
13 BUILD_DEPENDS=  colord>=0.1.20:${PORTSDIR}/graphics/colord
14 LIB_DEPENDS=    libcolord.so:${PORTSDIR}/graphics/colord \
15                 libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \
16                 libdbus-1.so:${PORTSDIR}/devel/dbus \
17                 liblcms2.so:${PORTSDIR}/graphics/lcms2
18
19 USE_GNOME=      gnomehier gtk30 intlhack introspection:build
20 USES=           gettext gmake pathfix pkgconfig tar:xz
21 USE_SQLITE=     3
22 GNU_CONFIGURE=  yes
23 USE_LDCONFIG=   yes
24 CONFIGURE_ARGS= --enable-gtk-doc-html=no
25 CPPFLAGS+=      -I${LOCALBASE}/include
26 LDFLAGS+=       -L${LOCALBASE}/lib
27 INSTALL_TARGET= install-strip
28
29 post-patch:
30         @${REINPLACE_CMD} -e 's|-Wclobbered||g' \
31                 -e 's|-Wempty-body||g' \
32                 -e 's|-Wignored-qualifiers||g' \
33                 -e 's|-Wtype-limits||g' \
34                 -e 's|-Wmissing-parameter-type||g' \
35                 ${WRKSRC}/configure
36
37 .include <bsd.port.mk>