aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-10-19 09:04:22 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-10-19 09:04:22 +0000
commit846a6ef6517586d34310e32e42bf225d81879551 (patch)
treeb18fbdf1608bbcc588b23c020fb3d006160cffff /graphics
parent7c1875a1ce31e07b4af39f35ef5ebad14d82092f (diff)
downloadports-846a6ef6517586d34310e32e42bf225d81879551.tar.gz
ports-846a6ef6517586d34310e32e42bf225d81879551.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gnome-color-manager/Makefile22
-rw-r--r--graphics/gnome-color-manager/pkg-descr2
2 files changed, 9 insertions, 15 deletions
diff --git a/graphics/gnome-color-manager/Makefile b/graphics/gnome-color-manager/Makefile
index ed1a6e46fef8..eca2e3ed6fd7 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 <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
+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 ce060bcd73fe..6a7d9951a6a0 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