freebsd-ports/graphics/colord-gtk/Makefile
Koop Mast d129587b5d The FreeBSD GNOME team proudly presents GNOME 3.16 for FreeBSD.
The offical GNOME 3.16 release notes can be found at https://help.gnome.org/misc/release-notes/3.16/

Upgrade instructions for port users:

Delete the old tracker package with:
# pkg delete -f tracker
And user port upgrade tool of choice to upgrade.

Thanks to Antoine Brodin for running the exp-runs.

This release was made possible by the following people:
  Gustau Perez
  Ting-Wei_Lan

PR:		201980
2015-08-05 19:13:24 +00:00

50 lines
1.4 KiB
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= colord-gtk
PORTVERSION= 0.1.26
CATEGORIES= graphics
MASTER_SITES= http://www.freedesktop.org/software/colord/releases/
MAINTAINER= kwm@FreeBSD.org
COMMENT= Manage color profiles to accurately color input/output devices
BUILD_DEPENDS= colord>=0.1.20:${PORTSDIR}/graphics/colord
LIB_DEPENDS= libcolord.so:${PORTSDIR}/graphics/colord \
libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \
libdbus-1.so:${PORTSDIR}/devel/dbus \
liblcms2.so:${PORTSDIR}/graphics/lcms2
USE_GNOME= gtk30 intlhack introspection:build
USES= gettext gmake libtool pathfix pkgconfig tar:xz
USE_SQLITE= 3
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-gtk-doc-html=no
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
OPTIONS_SUB= yes
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES
MANPAGES_BUILD_DEPENDS= docbook2html:${PORTSDIR}/textproc/docbook-utils \
docbook-sgml>0:${PORTSDIR}/textproc/docbook-sgml
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-Wclobbered||g' \
-e 's|-Wempty-body||g' \
-e 's|-Wignored-qualifiers||g' \
-e 's|-Wtype-limits||g' \
-e 's|-Wmissing-parameter-type||g' \
${WRKSRC}/configure
.if ! ${PORT_OPTIONS:MMANPAGES}
@${REINPLACE_CMD} -e "s|2MAN_TRUE=$$|2MAN_TRUE='#'|g ; \
s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure
.endif
.include <bsd.port.mk>