From 5e0a6ee005ff38909607ae30a82b887a73b26c4b Mon Sep 17 00:00:00 2001 From: DPorts Builder Date: Thu, 2 Nov 2017 10:49:51 -0700 Subject: [PATCH] Tweak graphics/gnome-color-manager version 3.18.0_2 --- graphics/gnome-color-manager/Makefile | 22 ++++++++-------------- graphics/gnome-color-manager/pkg-descr | 2 +- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/graphics/gnome-color-manager/Makefile b/graphics/gnome-color-manager/Makefile index ed1a6e46fef..eca2e3ed6fd 100644 --- a/graphics/gnome-color-manager/Makefile +++ b/graphics/gnome-color-manager/Makefile @@ -11,6 +11,9 @@ DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Session framework for the GNOME desktop to manage color profiles +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + BUILD_DEPENDS= docbook2man:textproc/docbook-utils \ itstool:textproc/itstool \ docbook-sgml>0:textproc/docbook-sgml @@ -22,31 +25,22 @@ LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ PORTSCOUT= limitw:1,even +USES= desktop-file-utils gettext gmake localbase:ldflags gnome pathfix pkgconfig tar:xz 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 +OPTIONS_SUB= yes RAW_DESC= Enable RAW EXIF support - -.include - -.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 +RAW_LIB_DEPENDS= libexiv2.so:graphics/exiv2 +RAW_CONFIGURE_ON= --enable-exiv=yes +RAW_CONFIGURE_OFF= --enable-exiv=no post-patch: @${REINPLACE_CMD} -e 's|-Wclobbered||g ; s|-Wempty-body||g ; \ diff --git a/graphics/gnome-color-manager/pkg-descr b/graphics/gnome-color-manager/pkg-descr index ce060bcd73f..6a7d9951a6a 100644 --- a/graphics/gnome-color-manager/pkg-descr +++ b/graphics/gnome-color-manager/pkg-descr @@ -2,4 +2,4 @@ GNOME Color Manager is a session framework for the GNOME desktop environment that makes it easy to manage easy to manage, install and generate color profiles. -WWW: http://projects.gnome.org/gnome-color-manager/ +WWW: https://git.gnome.org/browse/gnome-color-manager -- 2.41.0