freebsd-ports/graphics/gnome-color-manager/Makefile
Tobias C. Berner c1ff5bbef3 Update graphics/exiv2 to 0.25.
As there is an shlib version bump, bump them portrevision of dependent ports.

While doing so, also switch to the cmake build system, as it requires less
patching and is easier to handle.

PR:             211329
Reviewed by:    mat, rakuco, kwm
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D7283
2016-07-27 10:22:26 +00:00

57 lines
1.4 KiB
Makefile

# Created by: FreeBSD GNOME Team <gnome@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnome-color-manager
PORTVERSION= 3.18.0
PORTREVISION= 2
CATEGORIES= graphics gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Session framework for the GNOME desktop to manage color profiles
BUILD_DEPENDS= docbook2man:textproc/docbook-utils \
itstool:textproc/itstool \
docbook-sgml>0:textproc/docbook-sgml
LIB_DEPENDS= liblcms2.so:graphics/lcms2 \
libcolord.so:graphics/colord \
libcolord-gtk.so:graphics/colord-gtk \
libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libexif.so:graphics/libexif
PORTSCOUT= limitw:1,even
USE_XORG= xrandr
USE_GNOME= gnomedesktop3 gtk30 intlhack vte3
USES= desktop-file-utils gettext gmake gnome pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-clutter=no
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= RAW
OPTIONS_DEFAULT=RAW
RAW_DESC= Enable RAW EXIF support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRAW}
LIB_DEPENDS+= libexiv2.so:graphics/exiv2
CONFIGURE_ARGS+=--enable-exiv=yes
PLIST_SUB+= RAW=""
.else
CONFIGURE_ARGS+=--enable-exiv=no
PLIST_SUB+= RAW="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-Wclobbered||g ; s|-Wempty-body||g ; \
s|-Wignored-qualifiers||g ; s|-Wtype-limits||g ; \
s|-Wmissing-parameter-type||g' \
${WRKSRC}/configure
.include <bsd.port.mk>